Microsoft Exchange Server

  • Thread starter Thread starter Thomas Bender
  • Start date Start date
T

Thomas Bender

Hello,

how can i send an e-mail via "Microsoft Exchange Server ",
Or it is possible to contorl Outlook to send the mail?

Thx Thommy


(sorry about my bad englisch)
 
Thomas,

If the server exposes an SMTP interface, then you can use the classes in
the System.Web.Mail namespace to send an email through it. However, if you
want to send it directly through Exchange, then you will have to use COM
interop, and use the CDO or CDONTS libraries, and send the message that way.

However, you should be careful, as using some of the features of the CDO
objects might trigger a security warning dialog.

Hope this helps.
 
Back
Top