Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Bouce back to email different from "FROM" email

Reply
Thread Tools

Bouce back to email different from "FROM" email

 
 
alanwo@gmail.com
Guest
Posts: n/a
 
      11-29-2006
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. 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: <>

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Bouce back to email different from "FROM" email alanwo@gmail.com ASP .Net 0 11-29-2006 11:45 AM
back to back cable sbab Cisco 2 10-21-2003 01:09 AM
Configuring VPN through Cisco PIX and ISA Server in Back-to-back scenario Dejan Gambin Cisco 0 10-16-2003 01:53 PM
back-to-back with ISDN Fiber Optic Cisco 8 07-25-2003 07:33 AM
Cisco 2610 back to back serial connection problem - please help pandula Cisco 1 07-10-2003 01:21 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57