Outbound Email Settings work but when testing generate a 503 Error

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • videomicloud
    Junior Member
    • Sep 2016
    • 21

    Outbound Email Settings work but when testing generate a 503 Error

    New Bitnami installation of EspoCRM on AWS. Everything seems to be working as expected, but I'm getting a 503 error message on the frontend when sending emails and when testing in "Outbound Email Settings." But the log generates the following error:

    [action] => sendTestEmail ) , InputData: {"server":"fvrm-rchg.accessdomain.com","port":"465","auth":true,"s ecurity":"SSL","username":"cfields@videomi.com","p assword":null,"fromName":"*****","fromAddress":"cf ields@videomi.com","type":"preferences","id":"57e3 4a1aaa4c6932f","emailAddress":"cfields@videomi.com "} - Incorrect authentication data [] []
    [2016-09-22 14:46:59] Espo.ERROR: Display Error: Incorrect authentication data , Code: 500 URL: /espocrm/api/v1/Email/action/sendTestEmail

    The emails all seem to go through, so I'm not sure why it's generating this error. authentication info is all correct in the settings. I've tried multiple email addresses. Tried setting a default admin outbound email with "sharing" enabled. Tried setting each individual user's outbound email settings in prefs. Same error over and over. Not a huge deal as they seem to work but would like to track down the problem and correct if possible. Love this application so far.

    Chris Blair
  • peterbu68
    Junior Member
    • Sep 2016
    • 7

    #2
    I have the same problem - Connection refused, Code: 500:

    [2016-09-24 07:28:44] Espo.ERROR: API [POST]:/:controller/action/:action, Params:Array ( [controller] => Email [action] => sendTestEmail ) , InputData: {"server":"smtp.1und1.de","port":"587","auth":true ,"security":"TLS","username":"my.name@mydomain.com ","password":null,"fromName":"*****","fromAddress" :"my.name@mydomain.com","type":"outboundEmail","em ailAddress":"my.name@mydomain.com"} - Connection refused [] []
    [2016-09-24 07:28:44] Espo.ERROR: Display Error: Connection refused, Code: 500 URL: /api/v1/Email/action/sendTestEmail [] []

    Very good CRM .......

    Comment

    • peterbu68
      Junior Member
      • Sep 2016
      • 7

      #3
      It is really a very good CRM, but the problem with the outboundEmail makes me crazy! :-)

      Comment

      • yuri
        Member
        • Mar 2014
        • 8440

        #4
        Hi guys,

        I think you need to look into your server environment rather crm. Since EspoCRM is distributed as an application that can be installed on servers with different configurations it's up administrator to handle such problems. Sorry, but unfortunately developers of EspoCRM don't have enough time to help all end users to sort configuration issues.
        Last edited by yuri; 09-26-2016, 08:27 AM.
        If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

        Comment

        • videomicloud
          Junior Member
          • Sep 2016
          • 21

          #5
          Thanks...will look into server-side setup. I wasn't suggesting it was an EspoCRM issue by the way. Just thought that others might've experienced this and corrected it. I deal with email server craziness everyday with client setups so understand the complexities involved. Like I said, everything seems to work so not a huge issue but just wanted to eliminate future issues if and when we deploy for clients. I'm testing EspoCRM as a replacement or option for OnlyOffice (formerly TeamLab), and a couple other CRM solutions that we've setup for a few clients. Will test the advanced pack once we get everything working right on core setup.

          Comment

          • Kent Patrick
            Junior Member
            • Jan 2017
            • 2

            #6
            Originally posted by peterbu68
            I have the same problem - Connection refused, Code: 500:

            [2016-09-24 07:28:44] Espo.ERROR: API [POST]:/:controller/action/:action, Params:Array ( [controller] => Email [action] => sendTestEmail ) , InputData: {"server":"smtp.1und1.de","port":"587","auth":true ,"security":"TLS","username":"my.name@mydomain.com ","password":null,"fromName":"*****","fromAddress" :"my.name@mydomain.com","type":"outboundEmail","em ailAddress":"my.name@mydomain.com"} - Connection refused [] []
            [2016-09-24 07:28:44] Espo.ERROR: Display Error: Connection refused, Code: 500 URL: /api/v1/Email/action/sendTestEmail [] []

            Very good CRM .......
            did you find a solution to this issue? i am also hosted with 1and1 and receiving the following error

            Espo.ERROR: Display Error: Connection timed out, Code: 500 URL: /api/v1/Email/action/sendTestEmail [] []

            Comment

            • cardmaverick
              Member
              • Jan 2018
              • 30

              #7
              Originally posted by Kent Patrick

              did you find a solution to this issue? i am also hosted with 1and1 and receiving the following error

              Espo.ERROR: Display Error: Connection timed out, Code: 500 URL: /api/v1/Email/action/sendTestEmail [] []
              I'm getting this exact same error on Godaddy shared hosting with SMTP hair - did you ever figure this out?

              Comment

              • tanya
                Senior Member
                • Jun 2014
                • 4308

                #8
                Possible it related with port
                one of answers

                Comment

                • cardmaverick
                  Member
                  • Jan 2018
                  • 30

                  #9
                  I just got smtp outbound working. My issue was with Godaddy not providing correct details. For those using Godaddy webmail - DO NOT USE THEIR SMTP server address in the email settings panel. You have to use you cpanel url - just log in to cpanel and copy the first part of the url up to '.net' - you can delete the rest - do not include the 'https://' either - use your cpanel login name / password - for outbound DO use the normal IMAP settings. Once thats's done, you'll be able to send emails, they will archive to the IMAP server if you want them too.

                  My only remaining issue: no incoming emails are showing up. I cannot get my old emails either... not sure what's going on there.

                  I set all of this up under Email>Personal Email Accounts

                  Comment

                  • tanya
                    Senior Member
                    • Jun 2014
                    • 4308

                    #10
                    Do you set cron?


                    Comment

                    • cardmaverick
                      Member
                      • Jan 2018
                      • 30

                      #11
                      I set the cron - emails are incoming, but I'm seeing all kinds of bugs - duplicate emails, incorrect dates, fetch date not being obeyed. It's kind of a disaster

                      Comment

                      Working...