Sending mail to “Group Membership Account” ( exchange distribution list )

I am using CDO.Message and exchange server to send email using ASP application. It works fine when email address is user’s mail id but when I use “Group Membership Account” like “My Administrator Group” it fails and gives error that invalid email address.

 

Please help me and tell me how to send mail to “Group Account” using ASP application.

 

Thanks in advance

< xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /> 



Answer this question

Sending mail to “Group Membership Account” ( exchange distribution list )

  • Chris Bohling

    Hi!

    Thanks for asking! I'm a member of the ASP.NET team, and was just popping over here to see what was going on. The best place to ask ASP.NET questions is over on the ASP.NET forums at http://www.asp.net/welcome.aspx tabindex=1&tabid=39

    The short answer to your question is that you'll need to use the "official" email address of that group.  I'm not super familiar with Exchange, but as I understand it, Exchange doesn't great distribution lists/groups for Active Directory groups.  So, you'll need to create an Exchange group that contains all the users from your domain group, and then you can send mail to that account.

    HTH,

    PEte



  • a7mad

    Hi !!

    I am facing a similar problem. Please help me with this ...

    Simply put, I need my ASP.NET application to be able to send mails to a distribution list on our exchange server.

    The alias is known ... say "sales.group"

    This is translated to group1234@company.com by the outlook client when sending mails manually from outlook.

    However form our ASP.NET application (We are also using CDO for mail, by the way), we need to provide the actual email address and not the alias in the "To" property.

    Q#1 How do we programmatically fetch the mail ID based on an alias

    Another important issue is "permissions".

    Only a few people are permitted to send mails to this group.

    Q#2 How can I get permission for my application to send mails to this distribution list

    Thanks a lot in advance.

     

     



  • Sending mail to “Group Membership Account” ( exchange distribution list )