Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_cdo thread: Using CDONTS to create a new mail


Message #1 by LCai@c... on Mon, 22 Jan 2001 18:45:15 -0000
Here are the coding I used in asp file to send an email when client user

to submit a form. I would like to get client user's email address from

outlook to set "myMail.From" value. But I don't know how. Anyone can help?



set myMail = server.createobject("CDONTS.NewMail")

myMail.From = "something@s..."

myMail.To = "wherever@w..."

myMail.subject = "subject"

myMail.body = strComment & vbcrlf & vbcrlf & strEmail

myMail.send



Thanks.



Liping



Message #2 by awais bajwa <awais_bajwa@y...> on Mon, 22 Jan 2001 15:07:51 -0800 (PST)
--0-135497281-980204871=:9110

Content-Type: text/plain; charset=us-ascii





 Email_Address=Request.form("TxtBobEmail")

Mailer.FromAddress = Email_Address

  LCai@c... wrote: 

Here are the coding I used in asp file to send an email when client user

to submit a form. I would like to get client user's email address from

outlook to set "myMail.From" value. But I don't know how. Anyone can help?



set myMail = server.createobject("CDONTS.NewMail")

myMail.From = "something@s..."

myMail.To = "wherever@w..."

myMail.subject = "subject"

myMail.body = strComment & vbcrlf & vbcrlf & strEmail

myMail.send



Thanks.



Liping





---

http://www.asptoday.com - the leading site for timely,

in-depth information for ASP developers everywhere.










---------------------------------

Do You Yahoo!?

Yahoo! Auctions - Buy the things you want at great prices.



  Return to Index