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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Email (one line of text not on form)by pressing a button on a form?

Status
Not open for further replies.

Katriona

Programmer
Aug 29, 1999
24
AU
Does anyone know how to automatically send a simple email by clicking a button on a form? I do not want the user to do anything other than click the button, when I use mailto it brings up an email page with my address entered in the To: input box waiting for the user to send it.<br>
<br>
All I want to email is the string: &quot;An order has been placed&quot; (which is nowhere on the form.) to a set email address.<br>
<br>
In my site I'm using ASP, HTML, VBScript using Visual InterDev.
 
Use the Cdonts Mail object.<br>
<br>
Syntax for creating an the instance is<br>
Server.CreateObject("CDONTS.NewMail").<br>
<br>
Check Msdn for further documentation
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top