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

Send Form Results to Two Emails Addresses? 1

Status
Not open for further replies.

gingerb

Technical User
Nov 24, 2001
6
US
Is it possible to send form results to two separate email addresses at the same time? My form is working A-ok - I would just like to have the results emailed to another individual to save forwarding. I'm using FrontPage 97.
Thank you-
Ginger B.
 
you could try the following, in the form properties type the two email addresses, seperated by a ;

ie

me@you.com;him@her.com

i dont know if it will work but you can try it
 
Nope - I tried just using a , and neither will work. Darn!
 
ok then the only other suggestion i can give is to use pure asp coding to do this, depending on the server capabilities, you can create and send emails without front page server extensions
 
ok try the following code, in your page, but you will need to change some info


Dim MyBody
Dim MyCDONTSMail
Set MyCDONTSMail = server.CreateObject("CDONTS.NewMail")
MyCDONTSMail.From= "(address of sender)"
MyCDONTSMail.To= "me@you.com;you@me.com" '(change email addresses)
MyCDONTSMail.Subject="(subject)"
MyBody = "(what you want in the body)"
MyCDONTSMail.Body= MyBody
MyCDONTSMail.Send
set MyCDONTSMail=nothing

as i said some changes will need to be made... but you can try it for an example, if it works great.....
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top