Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Creating an Automated Email Service for a server

Status
Not open for further replies.

Davenz

Programmer
Sep 13, 2002
34
NZ
Hi

Not sure where to start on this one - I am working on a project that requires an automated email to be sent from a server. We are running exchange on Server 2003. I have investigated automating the microsoft outlook object model from VB.NET but have since discovered it was not designed to be used in this way.

The email project will need to run as a windows service and use a designated exchange account (SQL Mail is a possibility too) Anyone know how I should approach this in VB.NET?
 
Use the SMTP class. It's part of the .net framework. Note that it's a wrapper around the CDO COM library, so you'll need to install that as well.

Alternatively, there are commercial libraries which use socket connections to send email, thus not needing the CDO library. Take a look at for a listing of them (use SMTP as a keyword).

Chip H.


____________________________________________________________________
If you want to get the best response to a question, please read FAQ222-2244 first
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top