IIS and SMTP - To field

This is Interesting: Free IT Magazines  
Home > Archive > IIS and SMTP > May 2006 > To field





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author To field
yonido@gmail.com

2006-05-25, 1:23 am

Hello
im developing a service that processes msgs from the Drop directory &
forwards them using CDO.

A mail is sent to "user@myserver.com, user@server2.com". i want to
forward the message to "user@server3.com" but to spoof the DISPLAYED to

field so he sees "user@myserver.com, u...@server2.com" (like the
original message). nothing hacky, i just want to preserve the original
message.


Been searching for a while & I understood that i can do this using
clean SMTP commands by specifying the RCPT TO: different than the
header's to.


I want to do this using clean CDO and not SMTP commands.


I found out that if i config CDO to send using pickup directory, mails
start with:
X-Receiver: user@myserver.com
X-Receiver: user@server2.com


and the to field follows in the header.


If i could control these fields using cdo it would solve my problems.
tried setting "urn:schemas:mailheader:x-sender" but it made no
difference.


Any ideas?

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com