How do I send an SMTP with creditials other than the default?
I'm right now sending messages no problem by using mySmtp.UseDefaultCredentials, but I want to use a different account.
Printable View
How do I send an SMTP with creditials other than the default?
I'm right now sending messages no problem by using mySmtp.UseDefaultCredentials, but I want to use a different account.
mySmtp.Credentials = new NetworkCredential("username", "password")