Sending email works OK in ASP.NET app. However when mail is un-deliverable due to bad email address ... it is returned with everything EXCEPT the body of the original message. Unfortunately I need to see the message body to be able to act on this problem ..
Is there a configuration I an missing on the Default SMTP Virtual Server ...... or a property on the mail object??
I am using the DEFAULT SMTP Virtual Mail Server that comes with IIS ... for outbound mail only.
Here is a sample return mail that I received without the message body ...... please help.
-----Original Message-----
From: System Administrator
Sent: Friday, January 21, 2005 9:54 AM
To: someone@bademailaddress.net
Subject: Undeliverable:Message from MyApp.Net Administrator
Importance: High
Your message did not reach some or all of the intended recipients.
Subject: Message from PacPlus.Net Administrator
Sent: 01/21/2005 9:53 AM
The following recipient(s) could not be reached:
someone@bademailaddress.net on 01/21/2005 9:58 AM
You do not have permission to send to this recipient. For assistance, contact your system administrator.
<MYWEBSERVER #5.7.1 smtp;554 5.7.1 HELO greeting "<MYWEBSERVER" suspect - RFC 2821>
Is there a configuration I an missing on the Default SMTP Virtual Server ...... or a property on the mail object??
I am using the DEFAULT SMTP Virtual Mail Server that comes with IIS ... for outbound mail only.
Here is a sample return mail that I received without the message body ...... please help.
-----Original Message-----
From: System Administrator
Sent: Friday, January 21, 2005 9:54 AM
To: someone@bademailaddress.net
Subject: Undeliverable:Message from MyApp.Net Administrator
Importance: High
Your message did not reach some or all of the intended recipients.
Subject: Message from PacPlus.Net Administrator
Sent: 01/21/2005 9:53 AM
The following recipient(s) could not be reached:
someone@bademailaddress.net on 01/21/2005 9:58 AM
You do not have permission to send to this recipient. For assistance, contact your system administrator.
<MYWEBSERVER #5.7.1 smtp;554 5.7.1 HELO greeting "<MYWEBSERVER" suspect - RFC 2821>