Error sending email

Hello all,

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

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 at System.Net.Sockets.TcpClient.Connect(String hostname, Int32 port)
at #9ue.#8ue.#Kve.#8ue()

Error sending email 19: connection failed

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