Help | Site Map
Connecting Tech Pros Worldwide
 
 
LinkBack Thread Tools
  #1  
Old July 19th, 2005, 07:31 AM
Peter Bassett
Guest
 
Posts: n/a
Default Can I retrieve sender email address for CDO Message ?

I have an ASP script for users to replying by email to job postings. I set
up the message using CDO as usual:

Set objMessage = CreateObject("CDO.Message")
objMessage.Subject = "Example CDO Message"
objMessage.From = "blah"
objMessage.To = "myemail@comcast.net"
objMessage.TextBody = "blah"
objMessage.Send

I did not realize that objMessage.From needs to be filled in, and that
there is no vlaidation. Suppose that's how spammers work their magic.

Is there a way to determine the user's email account so I can fill in
objMessage.From ? I am thinking No, that a server app can not strip
something off a user's PC memory. Otherwise I will have to set
objMessage.From to a generic term.


Thanks!
Pete
  #2  
Old July 19th, 2005, 07:31 AM
William Tasso
Guest
 
Posts: n/a
Default Re: Can I retrieve sender email address for CDO Message ?

Peter Bassett wrote:[color=blue]
> I have an ASP script for users to replying by email to job postings.
> I set up the message using CDO as usual:
> ...
> Is there a way to determine the user's email account so I can fill in
> objMessage.From ? I am thinking No ...[/color]

Correct.

You could ask them for their mail address.

--
William Tasso - http://WilliamTasso.com


 

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles