I am develoep program to send mail ...when user give information ......it work is prefect in "server1" but same code hosting .....in "server2"
SmtpClient mySmtpClient = new SmtpClient();
mySmtpClient.DeliveryMethod = SmtpDeliveryMethod.Network;
mySmtpClient.Host = "mail.mudiam.com";
mySmtpClient.Port = 587;
mySmtpClient.Credentials = new NetworkCredential("payroll_team@mudiaminc.com", "Mnbvc233");
mySmtpClient.Send(message);// here I am getting the The Exception of above
I got the Exception above mention ...how to reslove the issues can replay me.
>>>In Web.config i am not included the
<system.net>
<mailsettings>
<mailsettings>
</system.net>
...
Go to the complete details ...