figuerres said:
figuerres said:
*snip*

if the server is remote and or if you need to auth before send then use this:

 

SendEmail SM = new SendEmail();

SM.ServerName = "smtp.domain.com";
         SM.Credential = new NetworkCredential(sendinguser@domain.com, "SecretPassword");

replace server name and other values as needed.

Thanks for the advice! Worked great!!!!