CodeCharge Studio
search Register Login  

Visual Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> Archive -> GotoCode Archive

 sending 2 e-mails

Print topic Send  topic

Author Message
kleinmannetje
Posted: 08/05/2002, 10:10 AM

Hello there

I have made a bookstore in CC using asp and now I have a little problem. When the client orders an item I want to send an e-mail to him. That works, but I also want to send an e-mail to the owner of the site so he knows an order has been placed. These e-mails have to been send at the same time.
I have used the code from the TellAFriend example and I am using asp.

Does anyone know some code to send the e-mail to two e-mail addresses at the same time.

Thanks

Kleinmannetje
Ron
Posted: 08/06/2002, 6:27 AM

Hello,
you can specify two email addresses in "To" field when sending email or add another send mail code right after the first one.
kleinmannetje
Posted: 08/06/2002, 11:57 AM

Thanks for your answer.

I have tried to put another line of code under the first one but then it doesn't work at all.

Maybe when I put the other e-mail address behind the first one but I don't really know which code to use. Could you help me please.

I am using this code:
objCDO.To = getparam("Email") + "email@owner.nl"

This doesn't work. Maybe anyone knows how to do this?

Thanks
Kleinmannetje
EMG
Posted: 08/06/2002, 12:18 PM

Seperate each address with a semi-colon:

test@mail.comtest2@mail.com

Not relevant, but found when using the php mail function you need to seperate with commas. Hope this helps/
kleinmannetje
Posted: 08/06/2002, 1:02 PM

Ok, thanks.

It works now. I appriciate your help.

Kleinmannetje

   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.