Bouce back to email different from "FROM" email

Discussion in 'ASP .Net' started by alanwo@gmail.com, Nov 29, 2006.

  1. Guest

    Hi Experts,

    I am trying to send out email and bounce back to different from "FROM"
    email address:

    Dim webmail As New System.Net.Mail.MailMessage("",
    "", "hello", "return errors to")
    'webmail.Headers.Add("Errors-To", "")
    'webmail.Headers.Add("X-Sender", "")
    webmail.Headers.Add("Sender", "")
    webmail.Headers.Add("Reply-To", "")
    'webmail.Headers.Add("X-Originating-Email", "")
    'webmail.Headers.Add("Return-Errors-To", "")
    'webmail.Headers.Add("Return-Path", "")
    Dim c As New Net.Mail.SmtpClient("localhost", 25)
    c.UseDefaultCredentials = True
    c.Send(webmail)

    I tried to add Sender header but after c.Send(webmail), the header
    disappeared. X-Sender does not take effect. Even using
    'webmail.Headers.Add("Errors-To", "")
    'webmail.Headers.Add("X-Sender", "")
    webmail.Headers.Add("Reply-To", "")
    'webmail.Headers.Add("X-Originating-Email", "")
    'webmail.Headers.Add("Return-Errors-To", "")
    'webmail.Headers.Add("Return-Path", "")
    No effect, no bounce back to instead of .

    I wonder if smtpclient and/or IIS SMTP 6.0 can't do the job. However, I
    can see that PayPal can do the job and it seemed to me that they run on
    Linux. I can see
    ; on behalf of;
    as display name and from.

    Look at Return-Path: <>, they can specify bounce back
    email!

    Do I need to switch to Lnux or use other components other than .net
    smtpclient / IIS SMTP?

    Please advice.

    Alan

    Return-Path: <> Wed Nov 29 06:19:14 2006
    Received: from outbound1.den.paypal.com [216.113.188.96] by ********
    with SMTP;
    Wed, 29 Nov 2006 06:19:14 -0500
    Received: from denweb142.den.paypal.com (denweb142.den.paypal.com
    [10.191.12.190])
    by outbound2.den.paypal.com (8.13.1/8.13.8) with SMTP id ********
    for <>; Wed, 29 Nov 2006 03:19:17 -0800
    X-DomainKeys: Sendmail DomainKeys Filter v0.4.1
    outbound2.den.paypal.com ******
    DomainKey-Signature: a=rsa-sha1; s=dkim; d=paypal.com; c=nofws; q=dns;
    ******
    Received: (qmail 16789 invoked by uid 99); 29 Nov 2006 11:19:17 -0000
    Date: Wed, 29 Nov 2006 03:19:17 -0800
    Message-Id: <*****@paypal.com>
    Subject: Item #1000 - Notification of Payment Received from SOMEONE
    ()
    X-MaxCode-Template: email-xclick-payment-notification
    To: TO <>
    From: "" <>
    X-Email-Type-Id: PP341
    X-XPT-XSL-Name: /default/en_US/xclick/XClickPaymentNotification.xsl
    Content-Type: multipart/alternative;
    boundary=--NextPart_048F8BC8A2197DE2036A
    MIME-Version: 1.0
    Sender: <>
     
    , Nov 29, 2006
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Joby
    Replies:
    0
    Views:
    1,666
  2. sylvia sil
    Replies:
    1
    Views:
    654
    Curt_C [MVP]
    Dec 29, 2004
  3. Replies:
    0
    Views:
    622
  4. =?Utf-8?B?Z29yaWxsYQ==?=
    Replies:
    1
    Views:
    823
    Masudur
    May 25, 2007
  5. heycooldude
    Replies:
    0
    Views:
    284
    heycooldude
    Mar 26, 2014
Loading...

Share This Page