Sending e-mail does not work. Error 500.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • nunos
    Member
    • Mar 2018
    • 94

    Sending e-mail does not work. Error 500.

    Hi everyone,

    Trying to send emails without success, used 2 different emails accounts, always getting the "500 connection refused" error.

    Info from the LOG:

    [2019-06-17 08:36:28] Espo.ERROR: API [POST]:/:controller/action/:action, Params:Array ( [controller] => Email [action] => sendTestEmail ) , InputData: {"server":"mail.bluestreamstudios.com","port":465, "auth":true,"security":"SSL","username":"ata@blues treamstudios.com","password":null,"fromName":"**** *","fromAddress":"noreply@membros.algarvepromotion .pt","type":"outboundEmail","emailAddress":"vale.f ormoso@sapo.pt"} - Connection refused [] []
    [2019-06-17 08:36:28] Espo.ERROR: Display Error: Connection refused, Code: 500 URL: /api/v1/Email/action/sendTestEmail [] []

    Another one using a different account (gmail):

    [2019-06-17 09:15:32] Espo.ERROR: API [POST]:/:controller/action/:action, Params:Array ( [controller] => Email [action] => sendTestEmail ) , InputData: {"server":"smtp.gmail.com","port":"465","auth":tru e,"security":"SSL","username":"membrosata@gmail.co m","password":"*****","fromName":"Mensagem de sistema Plataforma ATA","fromAddress":"noreply@membros.algarvepromoti on.pt","type":"outboundEmail","emailAddress":"info @bluestreamstudios.com"} - Connection refused [] []
    [2019-06-17 09:15:32] Espo.ERROR: Display Error: Connection refused, Code: 500 URL: /api/v1/Email/action/sendTestEmail [] []

  • Maximus
    Senior Member
    • Nov 2018
    • 2731

    #2
    Hello.
    Code:
    password":null,"
    You should set up the password.

    Comment

    • nunos
      Member
      • Mar 2018
      • 94

      #3
      Hi,

      You are right on the first test, the second test with gmail is giving the same error:

      [2019-06-17 14:34:29] Espo.ERROR: API [POST]:/:controller/action/:action, Params:Array ( [controller] => Email [action] => sendTestEmail ) , InputData: {"server":"smtp.gmail.com","port":465,"auth":true, "security":"SSL","username":"membrosata@gmail.com" ,"password":"*****","fromName":"Mensagem de Sistema Plataforma ATA","fromAddress":"noreply@membros.algarvepromoti on.pt","type":"outboundEmail","emailAddress":"vale .formoso@sapo.pt"} - Connection refused [] []
      [2019-06-17 14:34:29] Espo.ERROR: Display Error: Connection refused, Code: 500 URL: /api/v1/Email/action/sendTestEmail [] []

      Comment

      • Maximus
        Senior Member
        • Nov 2018
        • 2731

        #4
        [coed]"fromAddress":"noreply@membros.algarvepromoti on.pt"[/code]
        I doubt that you can send the emails from via this host. Try to replace it with "membrosata@gmail.com".

        Comment

        • nunos
          Member
          • Mar 2018
          • 94

          #5
          Hi Maximus,

          Changed it to membrosata@gmail.com, same error

          [2019-06-18 11:28:07] Espo.ERROR: API [POST]:/:controller/action/:action, Params:Array ( [controller] => Email [action] => sendTestEmail ) , InputData: {"server":"smtp.gmail.com","port":465,"auth":true, "security":"SSL","username":"membrosata@gmail.com" ,"password":"*****","fromName":"Mensagem de Sistema Plataforma ATA","fromAddress":"membrosata@gmail.com","type":" outboundEmail","emailAddress":"vale.formoso@sapo.p t"} - Connection refused [] []
          [2019-06-18 11:28:07] Espo.ERROR: Display Error: Connection refused, Code: 500 URL: /api/v1/Email/action/sendTestEmail [] []

          Comment

          Working...