- Status Unconfirmed
- Percent Complete
- Task Type Bug Report
- Category Notifications → Email
- Assigned To No-one
- Operating System All
- Severity High
- Priority Very Low
- Reported Version 1.0-rc9
- Due in Version Undecided
-
Due Date
Undecided
- Votes
- Private
Attached to Project: Flyspray - The bug killer!
Opened by Tobi - 30.05.2019
Last edited by peterdd - 31.05.2019
Opened by Tobi - 30.05.2019
Last edited by peterdd - 31.05.2019
FS#2552 - Email TLS error (was 'Mail Adress encryption')
Official release
Steps done to create the problem:
Insert correct (tested with gmail) data into the notification tab and click on “Test”
SSL and TLS are checked.
Expected behavior:
Send test email and confirm it.
Experienced behavior:
Following error message
Error message:
Warning: stream_socket_enable_crypto(): Peer certificate CN=`*.netcup.net’ did not match expected CN=`mail*.netcup.net’ in /var/www/vhosts/.netcup.net/httpdocs/**/flyspray/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/StreamBuffer.php on line 103 Completely unexpected exception: Unable to connect with TLS encryption
This should never happend, please inform Flyspray Developers
What were the smtp setup entries?
And was the receiving email address (your admin account in your Flyspray installation) a gmail address?
Which PHP version (look at index.php?do=admin&area=checks of your Flyspray installation)
I have the same issue so I will answer.
I have my SMTP set to smtp.gmail.com and both SSL and TLS checked. (This used to work fine until maybe a couple months ago). I tried changing the SSL and TLS checkboxes but it always fails the test.
The receiving account is not a @gmail.com address, but it is a G-Suite controlled address, as is the account used to send.
PHP version: 5.6.40
Here is my error..
Warning: stream_socket_enable_crypto(): Peer certificate CN=`[host1.webhost.com]' did not match expected CN=`smtp.gmail.com' in /home/myaccount/public_html/portal/tracker/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/StreamBuffer.php on line 103 Completely unexpected exception: Unable to connect with TLS encryption
This should never happend, please inform Flyspray Developers