Error sending email

Error sending email

  
Hello all,

I'm trying to send emails from Outsystems but I get the following errors :

1) 
Error sending email 19: 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 xxx.xxx.xxx.xxx:25 at System.Net.Sockets.TcpClient.Connect(String hostname, Int32 port)
at #9ue.#8ue.#Kve.#8ue()

2) 
Error sending email 19: connection failed

3)
Error sending email 19: 535 5.7.3 Authentication unsuccessful

I've created a simple C# Forms application to test sending an email, from the Outsystems machine, with the same settings and everything works fine.

In C# Form I have Port = 25 and EnableSSL= False, so it should work fine in Outsystems also.

The password has some special characters, could it be because of this?

Any ideas?

Hello Nelson,

1) and 2) seem to be happening because either the email server you have configured is unavailable or refusing connections from your OutSystems Server. Perhaps you want to take a look into that.

3) is weirder if your password is correct, but if the communication is going through clear text you can always set up a wireshark and check the conversation between the servers to understand what might be going wrong.

Best regards,
Ricardo Silva