Email sent from my web application never arrives at the destination. What can I do?

There are many reasons that can cause this problem.

  1. The email address you are sending to is invalid or out of service.
  2. The email content contains one or more Bare LF (Line Feed) character(s).

According to RFP 822bis, every line in your mail message is required to end with CR LF  (Carriage Return / Line Feed).  IIS 6.0 SMTP server is much stricter than its predecessor in restricting Bare LF, all email containing Bare LF will be held in queue.

To resolve this problem, check your application for Bare LF. 

In VB (both ASP & ASP.net), make sure to use vbCRLF rather than vbLF

In C#, make sure you use \n\r rather than just \r or \n alone.

  • 28 Benutzer fanden dies hilfreich
War diese Antwort hilfreich?

Verwandte Artikel

I get an error 'Server.CreateObject Failed' when I try to use CDONTs. What can I do?

CDONTs is no longer supported on Windows 2003 server.  Microsoft introduced CDO back several...

Do you allow custom COM components?

Yes, we do allow Custom Components and we have to charge setup fee for your COM Components...

ASP to MSSQL connection

Before you can access your MS-SQL Server database from your ASP code , you need to connect to it...

How do I send email from ASP using SMTP Authentication?

Please note that our mail server is configured with Authentication. Below is the code snippet...

After I configure the custom error setting in the control panel, I still get the generic error page?

Custom error setting is a web server setting that sets your website Error Pages, but you can...