Reply to topic
Sending an e-mail from a form using ASP
MBierman


Joined: 14 Apr 2004
Posts: 1
Reply with quote
Does anyone know how I can have a form send out 2 e-mail's to specific addresses with the form info included when the user hits the SUBMIT button?

There is no security involved here, the form information is basic stuff.

I know how to do this using Cold Fusion <cfmail> but I have no idea how to do this with ASP or if it is even possible.

Anyone?

THANKS!
Alan
HostMySite Marketing

Joined: 08 Mar 2004
Posts: 126
Reply with quote
Hello,

You can use the ASPMail component which is available on all of our hosting accounts. You can view our support page on ASPmail at http://hostmysite.com/support/programming/aspmail/

If you wish to send two different emails when the form is submitted you can add the ASP mail component to your form twice, each with a different name. For example Mailer1 and Mailer2.

If you wish to send the same form to two different email addresses you can add the code once and add additional Mailer.AddRecipient lines for each email address.

-Alan
Sending an e-mail from a form using ASP
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT  
Page 1 of 1  

  
  
 Reply to topic