navigation
a webmaster learning community
     Home    Register     Search      Help      Login    
FrontPage Alternative
Sponsors

Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions.

Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.

Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

Search Forums
 

Advanced search
Recent Posts

 Todays Posts
 Most Active posts
 Posts since last visit
 My Recent Posts
 Mark posts read

 

" Reply-to" 2 emails with CDONTS

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Web Development >> ASP and Database >> " Reply-to" 2 emails with CDONTS
Page: [1]
 
lwpunk

 

Posts: 93
From: Amherst
Status: offline

 
" Reply-to" 2 emails with CDONTS - 6/25/2003 8:40:27   
Hey everybody,
Its been a long time since I have been on this website. Since then I hope my skills have grown to more then they were.
Anyway, on to my question...this is my CDONTS email code...

Set ObjMail2 = Server.CreateObject(" CDONTS.NewMail" )

ObjMail2.From = " sales@office-xperts.com"
ObjMail2.To = Session(" approvalEmail" )
ObjMail2.CC = " sales@office-xperts.com"
ObjMail2.Subject = " Office-Xperts - EOS Order Approval Request"
ObjMail2.MailFormat = 0
ObjMail2.BodyFormat = 0
ObjMail2.Body = strMsg2
ObjMail2.Send
Set ObjMail2 = Nothing

What I need this to do is when the person recieves this email they must approve the order by replying to the email.
Is there a way to have them reply to two emails instead of just....
ObjMail2.From = " sales@office-xperts.com"
Because if the order gets approved then two people should recieve an email saying that its approved...me and the buyer.

I hope I am making sense here.
Thanks for any help,

lwpunk
bobby

 

Posts: 11394
Joined: 8/15/1969
From: Seattle WA USA
Status: offline

 
RE: " Reply-to" 2 emails with CDONTS - 6/25/2003 10:10:23   
objMail.Value(" Reply-To" ) = " sales@office-xperts.com,another@office-xperts.com"

More here:
http://www.devasp.com/Samples/Mail2.asp

_____________________________

If con is the opposite of pro, is Congress the opposite of progress?


:)

(in reply to lwpunk)
lwpunk

 

Posts: 93
From: Amherst
Status: offline

 
RE: " Reply-to" 2 emails with CDONTS - 6/26/2003 9:37:15   
Thanks! It worked great...
One more question...

How would I write out the same value but instead use two session variables to define my email addresses?

Thanks for the help,
Mark

(in reply to lwpunk)
bobby

 

Posts: 11394
Joined: 8/15/1969
From: Seattle WA USA
Status: offline

 
RE: " Reply-to" 2 emails with CDONTS - 6/26/2003 9:48:50   
Setting a session variable is easy... like this:

session(" email1" )=" email@address1.com"
session(" email2" )=" email@address2.com"

or from a form field:

session(" email1" )=request.form(" email1" )

You can also set it from a database result or other...


to write it back into the " Reply to" :

objMail.Value(" Reply-To" ) =session(" email1" ) & " ," & session(" email2" )

_____________________________

If con is the opposite of pro, is Congress the opposite of progress?


:)

(in reply to lwpunk)
Page:   [1]

All Forums >> Web Development >> ASP and Database >> " Reply-to" 2 emails with CDONTS
Page: [1]
Jump to: 1





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts