35
Views
4
Comments
Solved
Send email failed, no such host known

Hi we are sending emails, yesterdays we configured it, its working fine but today its not working giving the below error,  any suggestions

1)do you think, because we are using same email configuration and email for both dev environment and aswell nonproduction/test environment, does this giving us this problem?

or

this email has only 10 mb limit associate it , so this causing this issue? yesterday we alreday sent nearly 20 emails?


or any other reason please suggest,  what if i reclick save and apply on service center will it work?



Error sending email 8: System.Net.Sockets.SocketException (0x80004005): No such host is known
   at System.Net.Dns.GetAddrInfo(String name)
   at System.Net.Dns.InternalGetHostByName(String hostName, Boolean includeIPv6)
   at System.Net.Dns.GetHostAddresses(String hostNameOrAddress)
   at System.Net.Sockets.TcpClient.Connect(String hostname, Int32 port)
   at sch#eauagjlc.sch#rqnbxthg.sch#nsdlflby(Int32 bk, Int32 bl, String bm, Boolean bn) 




2019-01-07 16-04-16
Siya
 
MVP
Solution

Believe you are using a hostname instead of IP address for "SMTP Server" in Email Configuration and looks like Platform Server is unable to resolve the hostname to IP address and hence you see the "No such host is known" error.  Please check this hostname resolves to IP address in the network where your servers are hosted.

Also you mentioned that the same configuration is used in Dev and Testing . Could you confirm if email functionality is working as expected in these environments or if you're encountering similar issues there?


2024-06-03 11-04-24
Priya Naveen

same issue getting in both environments dev and test



2019-01-07 16-04-16
Siya
 
MVP

So the issue is not at the Platform Server side. Do reach out to the team who is handling the infrastructure / server at your end and they should be able to help you. 

If you have RDP access to these servers do connect and goto command prompt and ping to your SMTP server and see if this resolved to an IP address. Do share these information with your infra. team and they will better understand and resolve.

2024-08-22 11-39-17
Pedro Sousa

Hello @Priya Naveen 

"1)do you think, because we are using same email configuration and email for both dev environment and aswell nonproduction/test environment, does this giving us this problem? "

You should be able to have same configuration in different environments.


Please re-check SMTP Server* configuration in Service Center. Also you can use command prompt with command nslookup to discover the IP address or DNS record of a specific domain name and check if you can reach the domain you're specifing.


Hope it helps,

Regards,

Pedro. 


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