Error: A connection attempt failed because the connected party did not properly

Error: A connection attempt failed because the connected party did not properly

  

Hi Everyone,


I face the issue about when sending e-mail from an application and there are logs about:


Error sending email 2827: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond <EmailSeverIP>:<Port>    at System.Net.Sockets.TcpClient.Connect(String hostname, Int32 port)
   at OutSystems.HubEdition.SMTP.SendMail.SMTPMail.SendMail()


Some e-mail was sent successfully, but some were send delayed.


Does anyone found this issue?

Would you please give me the suggestion?


Thank you very much & Best Regards

Hi Film,

How did you setup your email SMTP? with Google? Past experiences of peer OutSystems developers show that setting up Gmail as SMTP has some challenges. Maybe you can try another stmp server.

For more info see:

https://success.outsystems.com/Support/Personal_Environment/How-to_send_emails_from_your_personal_environment

https://www.outsystems.com/forums/discussion/18791/gmail-smtp-not-working-in-personal-environment/

Regards,

Daniel

Daniël Kuhlmann wrote:

Hi Film,

How did you setup your email SMTP? with Google? Past experiences of peer OutSystems developers show that setting up Gmail as SMTP has some challenges. Maybe you can try another stmp server.

For more info see:

https://success.outsystems.com/Support/Personal_Environment/How-to_send_emails_from_your_personal_environment

https://www.outsystems.com/forums/discussion/18791/gmail-smtp-not-working-in-personal-environment/

Regards,

Daniel


Hi Daniel,


Thank you very much for your kindly help.

I didn't use Gmail as SMTP. My email server is an internal mail server.

I have allowed the firewall rule to connect with an OutSystems cloud already.
Some email was sent as normal, but there is some email was sent delayed with that error.


I have opened a case with OutSystems support team, but there is not update much more than I have to check firewall port.


Then I try to open this case in a community, if there is anyone found this same issue.


Best Regards.