"" @discussions.microsoft.com>
2004-08-03 14:37:46 UTC
Hi everybody:
I need to change the 'return-path' header of the e-mails I send using CDO in Windows 2000/2003.
I've tried to change the urn:schemas:mailheader:return-path in the mail header, but it doesn't work at all.
I think return-path is changed by the receiving MTA when the sending MTA connects to it for authenticate, but as long as I'm using the local SMTP server included with IIS I don't know how to indicate that...
I tried to use a event sink in order to change this header before sending but all was in vain. The return-path always shows the same e-mail address as the 'From' field, which is exactly what I don't want.
I've search the newsgroup in vain, and also Google News.
It seems that is not possible to acomplish this with CDO (I've found a lot of pages showing how to do it in PHP :-(, will I have to change?)
Any ideas in how to do this will be very appreciated.
Regards.
***@community.nospam
I need to change the 'return-path' header of the e-mails I send using CDO in Windows 2000/2003.
I've tried to change the urn:schemas:mailheader:return-path in the mail header, but it doesn't work at all.
I think return-path is changed by the receiving MTA when the sending MTA connects to it for authenticate, but as long as I'm using the local SMTP server included with IIS I don't know how to indicate that...
I tried to use a event sink in order to change this header before sending but all was in vain. The return-path always shows the same e-mail address as the 'From' field, which is exactly what I don't want.
I've search the newsgroup in vain, and also Google News.
It seems that is not possible to acomplish this with CDO (I've found a lot of pages showing how to do it in PHP :-(, will I have to change?)
Any ideas in how to do this will be very appreciated.
Regards.
***@community.nospam