# Feature OP-15262 - Configure SMTP timeout over ENV variable

Project: OpenProject
Status: closed
URL: https://community.openproject.org/work_packages/OP-15262

## Planning

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Target versions | 14.3.0 |
| Sprint | 14.3.0 |
| Backlog bucket |  |
| Votes |  |
| List |  |
| Roadmap |  |
| Relevance |  |

## OPEN POINTS / FEEDBACK

_No work packages_

## Features and Chunks

_No work packages_

## Bugs and other work packages

_No work packages_

## Technical Details

| Attribute | Value |
| --- | --- |
| Module |  |
| Feature Flag |  |
| Requires doc change | No |
| Enterprise plan |  |

## Details

| Attribute | Value |
| --- | --- |
| Pull preview |  |
| Mockups |  |
| Accessibility | No |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable | Oliver Günther |
| Product manager |  |
| Feature Lead |  |
| Developers | Oliver Günther |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Estimates and progress

| Attribute | Value |
| --- | --- |
| PD (min) |  |
| PD (max) |  |
| Work |  |
| Labor costs |  |

## Description

**As** admin  
**I want to** configure the SMTP timeout  
**so that** I can use my Mail server when it awnsers slower than 5 seconds on a request

  

**Hint:**

Feature to configure SMTP timeout over ENV variable is missing or need to be documented

### Workaround

Add the following line in the /opt/openproject/config/application.rb file and restart OpenProject:

```ruby
#set the timeout to 30 sec default is 5 sec
config.action_mailer.smtp_timeout = 30 
```
