Author: afelicetti | Posted on: 1/6/2004 5:37:56 PM | Views : 650

Does anyone know if it is possible to send email to an Exchange distribution list within asp.net using the System.Web.Mail namespace?

I have already tried entering the list name into my code below. Any help would be appreciated.

Thanks

'--------------------------------------------------------------------------- code below

smtpMssg.To = "IQS" 'name of distribution list

smtpMssg.Subject = "Notification"

smtpMssg.Body = "This is fake text"

end if

smtpMssg.BodyFormat = MailFormat.Html
smtpMssg.Priority = MailPriority.High


SmtpMail.Smtpserver = "myserver.mail.cc"

SmtpMail.Send(smtpMssg) ...

Go to the complete details ...