Re: Changing Return-Path on CDO sent mails

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

From: Tom Kaminski [MVP] ((A_at_T))
Date: 08/03/04


Date: Tue, 3 Aug 2004 11:20:58 -0400


"Kurgan@community.nospam"
<Kurgan@community.nospam@discussions.microsoft.com> wrote in message
news:A6DA952B-957A-4BFA-80EC-59F4051EE8C5@microsoft.com...
> 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.

What about the reply-to field?

-- 
Tom Kaminski IIS MVP
http://www.microsoft.com/windowsserver2003/community/centers/iis/
http://mvp.support.microsoft.com/
http://www.iisfaq.com/
http://www.iistoolshed.com/ - tools, scripts, and utilities for running IIS
http://www.tryiis.com


Relevant Pages

  • Re: Swen and bounces...
    ... is how the virus constructs the "From:" email address. ... Here is an example from an older infected message received at one of my Juno ... Please look very closely at the "Return-Path:" email address. ... using the exact domain of the sending MTA. ...
    (microsoft.public.windows.inetexplorer.ie6_outlookexpress)
  • Re: Swen and bounces...
    ... is how the virus constructs the "From:" email address. ... Here is an example from an older infected message received at one of my Juno ... Please look very closely at the "Return-Path:" email address. ... using the exact domain of the sending MTA. ...
    (microsoft.public.internet.mail)
  • Re: Swen and bounces...
    ... is how the virus constructs the "From:" email address. ... Here is an example from an older infected message received at one of my Juno ... Please look very closely at the "Return-Path:" email address. ... using the exact domain of the sending MTA. ...
    (microsoft.public.security.virus)
  • Changing Return-Path on CDO sent mails
    ... 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... ...
    (microsoft.public.inetserver.iis)
  • Re: Cant overwrite Return-path
    ... |> I want to use mailfunction but I can't overwrite Retun-Path info. ... |> mail servers overwrite the 'Return-path' header sent by the PHP mail ... | message composing and sending e-mail messages. ...
    (alt.php)