My website will send a confirmation email to new users when they sign up to a membership.
Here's an example of my code:
///////////////////////////////////////////
SmtpClient smtp = new SmtpClient(smtp.mywebsite.com);
System.Net.NetworkCredential SMTPUserInfo = new System.Net.NetworkCredential(<address>, <password>);
smtp.Credentials = SMTPUserInfo;
smtp.Send(msg);
///////////////////////////////////////
What i want to know is, when this code is executed on the server, will the network credentials be sent over the internet and to the smtp server? Or will they be directly used by the local machine so that nobody can access them? The smtp server is not SSL enabled.
Here's an example of my code:
///////////////////////////////////////////
SmtpClient smtp = new SmtpClient(smtp.mywebsite.com);
System.Net.NetworkCredential SMTPUserInfo = new System.Net.NetworkCredential(<address>, <password>);
smtp.Credentials = SMTPUserInfo;
smtp.Send(msg);
///////////////////////////////////////
What i want to know is, when this code is executed on the server, will the network credentials be sent over the internet and to the smtp server? Or will they be directly used by the local machine so that nobody can access them? The smtp server is not SSL enabled.