Status code GeneralFailure in SmtpClient exception C# -
i sending mail using smtpclient.i got innerexception staus code : generalfailure.when looked http://msdn.microsoft.com/en-us/library/system.net.mail.smtpstatuscode(v=vs.90) says "the transaction not occur. receive error when specified smtp host cannot found".is exception due network issue?or else?
"you receive error when specified smtp host cannot found"
do have terminal access machine code running? if "ping {mailserver}", resolve correct ip , return responses? note ping might not work across routers/internet, many people filter/block icmp now. step 1 confirming ip can resolved , it's correct. if ping doesn't work because it's blocked, try "telnet {mailserver} 25", connect smtp port on mail server. if connects, that's not problem.
Comments
Post a Comment