IBM Support

Mail delivered by SMTP is missing the body of the e-mail

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.

[{"Product":{"code":"SSSN3L","label":"z\/OS Communications Server"},"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Component":"All","Platform":[{"code":"PF035","label":"z\/OS"},{"code":"PF025","label":"Platform Independent"}],"Version":"1.6;1.7;1.8;1.9;1.10;1.11;1.12;1.13;2.1;2.2","Edition":"","Line of Business":{"code":"LOB35","label":"Mainframe SW"}}]

Document Information

Modified date:
15 June 2018

UID

swg21375639