Troubleshooting
Problem
An e-mail sent by SMTP contains a subject line and information about who the mail is from, but does not contain the body or text of the e-mail.
Cause
RFC 822 requires a blank line between the RFC 822 headers and the body of the e-mail. The mail user agent (MUA) is responsible for adding this line when creating the e-mail to be sent to the mail transfer agent (MTA). If this blank line is missing, some MTAs (like SMTP) will add this blank line if certain configuration options are selected; some will not. If the mail is sent through another mailer that does not add this line, then the recipient will not be able to see the body of the e-mail.
Resolving The Problem
When using REWRITE822HEADER YES PRINT|NOPRINT, then SMTP will add the blank line between the RFC 822 headers and the body of the e-mail.
If using REWRITE822HEADER NO, then when the mail is put onto the spool, it must conform to RFC 822 standards. For example, an e-mail should look like the example below. Note the blank line after Subject.
- HELO host
MAIL FROM: <user@host.domain>
RCPT TO: <user@host.domain>
DATA
Date: 03 FEB 2009 14:05:55 LCL
From: user
To: user
Subject: test
testing
Was this topic helpful?
Document Information
Modified date:
15 June 2018
UID
swg21375639