-
Hi,
since one or two days we cant send Mails from the crm. I get the following in the logs:[2019-10-10 09:44:53] Espo.ERROR: (0) Could not read from smtp.office365.com; POST /api/v1/Email/action/sendTestEmail; line: 306, file: /app/code/5.7.1/vendor/zendframework/zend-mail/src/Protocol/AbstractProtocol.php [] [] [2019-10-10 09:45:46] Espo.WARNING: E_WARNING: fwrite(): SSL operation failed with code 1. OpenSSL Error messages: error:140D00CF:SSL routines:SSL_write:protocol is shutdown {"code":2,"message":"fwrite(): SSL operation failed with code 1. OpenSSL Error messages:\nerror:140D00CF:SSL routines:SSL_write:protocol is shutdown","file":"/app/code/5.7.1/vendor/zendframework/zend-mail/src/Protocol/AbstractProtocol.php","line":260,"context":{"request":"QUIT"}} [] [2019-10-10 09:45:46] Espo.WARNING: E_WARNING: fwrite(): SSL operation failed with code 1. OpenSSL Error messages: error:140D00CF:SSL routines:SSL_write:protocol is shutdown {"code":2,"message":"fwrite(): SSL operation failed with code 1. OpenSSL Error messages:\nerror:140D00CF:SSL routines:SSL_write:protocol is shutdown","file":"/app/code/5.7.1/vendor/zendframework/zend-mail/src/Protocol/AbstractProtocol.php","line":260,"context":{"request":"QUIT"}} [] [2019-10-10 09:45:46] Espo.ERROR: (0) Could not read from smtp.office365.com; POST /api/v1/Email/action/sendTestEmail; line: 306, file: /app/code/5.7.1/vendor/zendframework/zend-mail/src/Protocol/AbstractProtocol.php [] []Because this could be an php error i post here first. Sending Mails over Office365 over the Cloudron in generall works.
-
Hi, i installed Update and get the same error:
[2019-10-11 06:44:48] Espo.WARNING: E_WARNING: fwrite(): SSL operation failed with code 1. OpenSSL Error messages: error:140D00CF:SSL routines:SSL_write:protocol is shutdown {"code":2,"message":"fwrite(): SSL operation failed with code 1. OpenSSL Error messages:\nerror:140D00CF:SSL routines:SSL_write:protocol is shutdown","file":"/app/code/5.7.2/vendor/zendframework/zend-mail/src/Protocol/AbstractProtocol.php","line":260,"context":{"request":"QUIT"}} [] [2019-10-11 06:44:48] Espo.WARNING: E_WARNING: fwrite(): SSL operation failed with code 1. OpenSSL Error messages: error:140D00CF:SSL routines:SSL_write:protocol is shutdown {"code":2,"message":"fwrite(): SSL operation failed with code 1. OpenSSL Error messages:\nerror:140D00CF:SSL routines:SSL_write:protocol is shutdown","file":"/app/code/5.7.2/vendor/zendframework/zend-mail/src/Protocol/AbstractProtocol.php","line":260,"context":{"request":"QUIT"}} [] [2019-10-11 06:44:48] Espo.ERROR: (0) Could not read from smtp.office365.com; POST /api/v1/Email/action/sendTestEmail; line: 306, file: /app/code/5.7.2/vendor/zendframework/zend-mail/src/Protocol/AbstractProtocol.php [] [] -
Someone from the EspoCRM Forum discoverd that i need to enable smtp auth. With this i can send mails.
Background for not enabling smtp auth:
We use Office365 as Mail System. Because we run some Apps in our cloudron i marked the Server as trusted host in the office365 exchange system. With this all the apps can send Mails without entering Mail Server data.
Topic is solved for me.For Reference:
https://forum.espocrm.com/forum/bug-reports/52380-can-t-send-emails-over-office365
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login