467,104 Members | 1,201 Online
Bytes | Developer Community
Ask Question

Home New Posts Topics Members FAQ

Post your question to a community of 467,104 developers. It's quick & easy.

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 = "my*****@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
Jul 19 '05 #1
  • viewed: 3366
Share:
1 Reply
Peter Bassett wrote:
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 ...


Correct.

You could ask them for their mail address.

--
William Tasso - http://WilliamTasso.com
Jul 19 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

6 posts views Thread by Mark | last post: by
3 posts views Thread by serge calderara | last post: by
3 posts views Thread by Richard Thornley | last post: by
1 post views Thread by crescent_au@yahoo.com | last post: by
1 post views Thread by Johnny Jörgensen | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.