We have an ASP.net website that needs to send emails in response to client interactions. We've done this before and have had minimal problems. This time, for whatever reason, the emails just wont send, and keep getting stuck in the Queue folder.
After a while the messages are replaced with another message with the original and a .dat file attached. The contents of that message are "This is an automatically generated Delivery Status Notification. Unable to deliver message to the following recipients, due to being unable to connect successfully to the destination mail server." The contents of the .dat file are:
==========================================
Reporting-MTA: dns;127.0.0.1
Received-From-MTA: dns;servername
Arrival-Date: Mon, 6 Oct 2008 13:01:58 -0500
Final-Recipient: rfc822;myemail@mydomain.com
Action: failed
Status: 4.4.7
==========================================
Note: The email on the final-recipient line has been replaced.
What is required to relay an email message from an ASP.net script besides having the SMTP service up and running? I've tried restarting the service, setting up alias domains within the virtual server for the site I.P. addresses, opening and closing the relay restrictions...nothing seems to work.
Any ideas?
Thanks,
Sam