Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to Send e-Mails through a Web Application
Message
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
01114218
Message ID:
01114296
Views:
16
I'm not sure about accessing outlook, but if you're using an exchange server and developing in .NET 2.0 you can use system.net.mail. Somethiing like this, we use it for internal web applications and it works very well:

MailAddress to = new MailAddress("to@you.com");
MailAddress from = new MailAddress("to@you.com");

//build the email message(subject,body)
MailMessage mail = new MailMessage(to, from);
mail.Subject = "";
mail.Body = "";

//set the smtpclinet and send the email
SmtpClient launcher = new SmtpClient("nameofserver",25);
launcher.Send(mail);
Previous
Reply
Map
View

Click here to load this message in the networking platform