Email Through Exchange

  • Thread starter Thread starter wg
  • Start date Start date
W

wg

I am developing an application to send emails from within a company using
MS-Exchange. I know next to nothing about Exchange. Does anyone know how to
get started in this? Can I use the SendMail from .NET?

Thanks

Wade
 
Hi Wade,
try the code below

using System.Web.Mail

MailMessage mailMessage = new MailMessage();
mailMessage.To = ".jdflsdjf"; (semi-colon separated list for multiple
addresses)
mailMessage.From = "lsjfsdjf";
mailMessage.Subject = "ldjlsjf";
mailMessage.Body = "lkjdflj";

SmtpMail.SmtpServer = "000.000.0"; (ip address of mail server)
SmtpMail.Send(mailMessage);


SmtpMail
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top