Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    Solved ESPOcrm not sending mail, SSL error

    EspoCRM
    espocrm
    2
    4
    729
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • ?
      A Former User last edited by girish

      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.

      1 Reply Last reply Reply Quote 0
      • girish
        girish Staff last edited by

        @jensbee4 There was an espocrm update pushed out today. Can you please check with the latest update?

        1 Reply Last reply Reply Quote 0
        • ?
          A Former User last edited by

          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 [] []
          
          1 Reply Last reply Reply Quote 0
          • ?
            A Former User last edited by

            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

            1 Reply Last reply Reply Quote 1
            • First post
              Last post
            Powered by NodeBB