Bouce back to email different from "FROM" email

A

alanwo

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("(e-mail address removed)",
"(e-mail address removed)", "hello", "return errors to")
'webmail.Headers.Add("Errors-To", "(e-mail address removed)")
'webmail.Headers.Add("X-Sender", "(e-mail address removed)")
webmail.Headers.Add("Sender", "(e-mail address removed)")
webmail.Headers.Add("Reply-To", "(e-mail address removed)")
'webmail.Headers.Add("X-Originating-Email", "(e-mail address removed)")
'webmail.Headers.Add("Return-Errors-To", "(e-mail address removed)")
'webmail.Headers.Add("Return-Path", "(e-mail address removed)")
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", "(e-mail address removed)")
'webmail.Headers.Add("X-Sender", "(e-mail address removed)")
webmail.Headers.Add("Reply-To", "(e-mail address removed)")
'webmail.Headers.Add("X-Originating-Email", "(e-mail address removed)")
'webmail.Headers.Add("Return-Errors-To", "(e-mail address removed)")
'webmail.Headers.Add("Return-Path", "(e-mail address removed)")
No effect, no bounce back to (e-mail address removed) instead of (e-mail address removed).

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
(e-mail address removed); on behalf of; (e-mail address removed)
as display name and from.

Look at Return-Path: <[email protected]>, 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: <[email protected]> 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 <[email protected]>; 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
([email protected])
X-MaxCode-Template: email-xclick-payment-notification
To: TO <[email protected]>
From: "(e-mail address removed)" <[email protected]>
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: <[email protected]>
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,997
Messages
2,570,239
Members
46,827
Latest member
DMUK_Beginner

Latest Threads

Top