Sending email to an Active Directory user from ASP.Net app

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mankz
    New Member
    • Feb 2008
    • 2

    Sending email to an Active Directory user from ASP.Net app

    Hi!

    I wonder if it's possible to send emails to active directory users without fully specifying their email addresses. In Outlook for example I can just type the recipient as "someuserid " which is a valid AD user identifier and outlook will handle the rest. I tried doing this in C# but the MailMessage object complains about the format of the recipient. Is there any way to make the SMTP-client talk to the AD automatically to lookup these user objects?

    Any help/thoughts would be appreciated!

    Mats
Working...