189
Views
4
Comments
Solved
Send email is not working!
Question

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) 

EmailError.PNG
2023-05-30 10-05-13
Lourenço Matalonga
Solution

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 

2023-02-14 07-32-30
Aravindh R
Solution

Hi Avani,

pls check the SMTP configuration (Port number)


Regards,

Aravindh.

2023-05-30 10-05-13
Lourenço Matalonga
Solution

Hi Avani,

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.

Best regards,

Lourenco Matalonga 

UserImage.jpg
Avani Nayak

Hi Lourenco Matalonga,

We have configured it correct.. Is there any way that we can resolve this issue!


Regards,

Avani Nayak.



2023-05-30 10-05-13
Lourenço Matalonga
Solution

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 

2023-02-14 07-32-30
Aravindh R
Solution

Hi Avani,

pls check the SMTP configuration (Port number)


Regards,

Aravindh.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.