05-25-06 06: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?
[ Post a follow-up to this message ]
|