Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_cdo thread: Re: How to obtain client's email address


Message #1 by "Terry" <turlough@a...> on Tue, 20 Feb 2001 21:38:53 -0600
As Matthew has stated, there is no way to grap the client's email from the

request object.  It has to be willingly supplied by the user.  This was

implemented in this manner intentionally, otherwise every time you went to a

web page there would be the potential of SPAMers automatically grabbing your

email.  Not a pretty thought :)



-----Original Message-----

From: Matthew [mailto:mlohr@t...]

Sent: Thursday, January 25, 2001 5:03 PM

To: ASP CDO

Subject: [asp_cdo] Re: How to obtain client's email address





for this field you can eith hard code it or request it from a form that they

must fill out

----- Original Message -----

From: "Benny Olsson" <benny.olsson@d...>

To: "ASP CDO" <asp_cdo@p...>

Sent: Thursday, January 25, 2001 5:18 PM

Subject: [asp_cdo] Re: How to obtain client's email address





> If u find a way to solve this, then PLEASE tell me..

>

> Thanks!

>

> /Benny Olsson

> ----- Original Message -----

> From: <lcai@c...>

> To: "ASP CDO" <asp_cdo@p...>

> Sent: Thursday, January 25, 2001 12:34 AM

> Subject: [asp_cdo] How to obtain client's email address

>

>

> > When I using CDONTS to create a new email. I would like to use client's

> > email address in Outlook to set "myMail.From" Value. But I don't know

how

> > to get the address. Anyone can help?

> >

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

> > myMail.From = "?????"

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

> > myMail.subject = "subject"

> > myMail.body = strComment & vbcrlf & vbcrlf & strEmail

> > myMail.send

> >

> > Thanks.

> >

> > Liping

> >

>

  Return to Index