Changing Return-Path on CDO sent mails

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

Kurgan_at_community.nospam
Date: 08/03/04


Date: Tue, 3 Aug 2004 07:37:46 -0700

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.

Kurgan@community.nospam



Relevant Pages

  • Possible to modify Return-Path in code?
    ... I set my From header in code using CDO and Redemption. ... if there is a way to set the Return-Path in code also? ...
    (microsoft.public.outlook.program_vba)
  • Re: how to disable to send read receipt
    ... What we have set is just a mailbox policy run by Exchange mailbox manager. ... older than xxx days with read recepient header. ... The mail server should be stripping out the header on inbound e-mails coming ...
    (microsoft.public.outlook.general)
  • Re: how to disable to send read receipt
    ... emails, new or old. ... Asking for a read receipt in an e-mail results in adding a header to it. ... The mail server should be stripping out the header on inbound e-mails coming ... e-mail client will issue the read receipt (if the option is enabled and set ...
    (microsoft.public.outlook.general)
  • Re: how to disable to send read receipt
    ... emails older than 1 year in the Deleted items folder. ... If it's unread with read receipt header then remove the ... The mail server should be stripping out the header on inbound e-mails coming ... Because the Disposition-Notification-To header is defined by RFC 3798 ...
    (microsoft.public.outlook.general)
  • Re: how to disable to send read receipt
    ... Asking for a read receipt in an e-mail results in adding a header to it. ... The mail server should be stripping out the header on inbound e-mails coming ... Because the Disposition-Notification-To header is defined by RFC 3798 ... standard header but instead ...
    (microsoft.public.outlook.general)