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


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. EspoCRM
  3. ESPOcrm not sending mail, SSL error

ESPOcrm not sending mail, SSL error

Scheduled Pinned Locked Moved Solved EspoCRM
espocrm
4 Posts 2 Posters 2.0k Views 2 Watching
  • 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.
    • ? Offline
      ? Offline
      A Former User
      wrote on last edited by girish
      #1

      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
      0
      • girishG Offline
        girishG Offline
        girish
        Staff
        wrote on last edited by
        #2

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

        1 Reply Last reply
        0
        • ? Offline
          ? Offline
          A Former User
          wrote on last edited by
          #3

          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
          0
          • ? Offline
            ? Offline
            A Former User
            wrote on last edited by
            #4

            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
            1
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • Bookmarks
              • Search