In our project , we have to send email when we create an audit.. But it is not sending! getting below error in service center under emails:
Error sending email 4626: System.Net.Sockets.SocketException (0x80004005): 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 74.125.200.109:587 at System.Net.Sockets.TcpClient.Connect(String hostname, Int32 port) at sch#dtgaupbg.sch#qxpndhki.sch#eiqtwctx(Int32 bk, Int32 bl, String bm, Boolean bn)
Sometimes the Port you have defined in the SMTP configurations might be the problem. Try to double check all your configurations. Also check what is the timeout set to for email request, might be to short for what you are trying to do.
Here is some documentation regarding this: SmtpClient: A connection attempt failed because the connected party did not properly respond after a period of time - Stack Overflow
Let me know if it solves your problem.
Best regards,
Lourenco Matalonga
Hi Avani,
pls check the SMTP configuration (Port number)
Regards,
Aravindh.
Have you properly configured the SMTP on Service center? Email sending in OutSystems requires that you have the SMTP configured for it to work.
Here is the documentation that helps you do that: Welcome to OutSystems documentation - OutSystems
Hope this helps. Please let me know if you have further questions.
Hi Lourenco Matalonga,
We have configured it correct.. Is there any way that we can resolve this issue!
Avani Nayak.