# Bug OP-19033 - Send test email fails when using SMTP and TLS

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

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module | Modules and project features / Email notifications |
| Target versions | 17.2.2 |
| Observed in versions | 17.2.0 |
| Sprint | 17.2.2 |
| Backlog bucket |  |
| Bug found in version (deprecated) | 17.2.x |
| Found in mobile app version |  |
| Follow-up feedback e-mail |  |
| Requires doc change | No |
| Accessibility | No |
| Pull preview |  |
| List |  |
| Labels |  |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable |  |
| Product manager |  |
| Developers |  |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Planning

| Attribute | Value |
| --- | --- |
| Relevance |  |

## Costs

| Attribute | Value |
| --- | --- |
| Votes |  |
| Work |  |
| Labor costs |  |

## Description

### Steps to reproduce

1.  Configure SMTP credentials, check either TLS directly or enable StartTLS
    
2.  Try to send a test email
    

### What is the buggy behavior?

*   error sending test email (SSL\_connect returned=1 errno=0 peeraddr=37.208.111.2:587 state=error: certificate verify failed (hostname mismatch))
    

### What is the expected behavior?

*   The sending of the test email should work
    

###   

**OpenProject version**

v17.2.0
