Send E-mail from ASP without a COM object

For those that have IIS's SMTP service running on the same machine as your Web server, you can send out e-mail's without using a COM object.

The SMTP service monitors the c:\inetpub\mailroot\pickup\ folder (based on a default installation) for new messages. Simply create a new text file in this folder that meets the RFC822 e-mail format. It should be zapped into the system and an e-mail will be sent out.

I haven't put this through any kind of testing so you may have user security rights to deal with in order to get this working correctly.

Published October 29, 2003 · Updated September 17, 2005
Categorized as ASP
Short URL: