Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Why am I sending blank emails?

Status
Not open for further replies.

Schroeder

MIS
Sep 25, 2001
382
US
A program I wrote sends daily order confirmations for our company. When I first got the process going, I was having trouble with AOL customers receiving blank emails. The problem turned out to be the fact that I neglected to include a Date header. Adding one fixed the problem.

I recently decided to add a Message-ID header to the emails. Although its not technically required by the RFC 2822 standard it seems to be highly recommended. I, once again, began receiving reports of blank emails.

Turns out that, although I can find no specification in the RFC standard for the sequence of email headers, Outlook seems to require the Message-ID header to be first in line. Moving the Message-ID to the front of the headers helped but apparently, some customers are still receiving blank emails.

Can anyone suggest other reasons why some email clients will not display the body of the messages I'm sending? The To, From and Subject headers come through fine but the body of the message is blank. I am including a blank line between my headers and the body of the message as well as terminating the body with a period on a line by itself. What else should I look at?
 
Thanks for your time and the links. Actually, I got no reports of blank emails from last night's batch. When I posted this yesterday, a few customers had just reported blank messages but now I'm thinking that was a fluke. I'm hoping moving the Message-ID to the front of the headers has fixed the problem.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top