none
Exchange 2003 SMTP Connection using System.Net.Mail.SmtpClient RRS feed

  • Question

  • I wonder if someone can give me some guidance on a situation where a developer needs to configure an SMTP connection for an app using the following code:

    System.Net.Mail.SmtpClient client = new System.Net.Mail.SmtpClient("mymailserver.mydomain.com");
    client.Credentials = new System.Net.NetworkCredential("my domain\\username", "jjjjkk");
    client.Send(message);

    This doesn't appear to be working so I'm wondering if someone can provide some direction or assistance on sysntax sertup.

    tia

    Monday, May 13, 2013 4:12 AM

Answers