Send mail in ASP with the SMTP Mail Demo


This sample demonstrates how easy it is to send email in ASP with the SMTP ActiveX Control (included with PowerTCP Mail for ActiveX). Simply create a form containing the fields necessary to send mail (such as "TO:","FROM","Subject", etc) and POST these forms to an ASP page containing your email script. This script will get the fields from the request, create a simple email message by setting the properties of the Message object, and send the email using the SMTP component. SMTP ActiveX Control is an excellent means to solving your mail in ASP problems. Try it out today, and see how easy it is to use!

Download the SMTP Mail in ASP Sample Now.

This script could be easily modified to enable automatic email from your ASP page for any purpose including form registrations,notifications, or product advertisements. Your ASP script could be as simple as a single line of code to send a quick email, or as complex as creating a MIME email with attachments.

If you are interested in this sample, be sure to see these links: