- 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
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
Loading...
Available keyboard shortcuts
- Alt + ⇧ Shift + l Login Dialog / Logout
- Alt + ⇧ Shift + a Add new task
- Alt + ⇧ Shift + m My searches
- Alt + ⇧ Shift + t focus taskid search
Tasklist
- o open selected task
- j move cursor down
- k move cursor up
Task Details
- n Next task
- p Previous task
- Alt + ⇧ Shift + e ↵ Enter Edit this task
- Alt + ⇧ Shift + w watch task
- Alt + ⇧ Shift + y Close Task
Task Editing
- Alt + ⇧ Shift + s save task
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