You need a blank line after the header whether or not it contains MIME fields. With rare exceptions, header fields are case insensitive.
-- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 ________________________________________ From: IBM Mainframe Discussion List <[email protected]> on behalf of Paul Gilmartin <[email protected]> Sent: Friday, April 5, 2019 1:10 PM To: [email protected] Subject: Re: Rexx not processing email formatting On Fri, 5 Apr 2019 11:07:56 -0500, Bill Giannelli wrote: >We have a rexx on z/OS to send out emails. but when output to email (outlook) >it treats any formatting command as text: >MIME-Version: 1.0 >CONTENT-TYPE:TEXT/HTML < ----- here ----- > ><HTML> ><BODY> ><PRE STYLE="FONT: MONOSPACE"> >Any advice as to why these commands are not formatting the email message >"body"? I'm pretty sure you need an empty line between the MIME headers and the message body. Mainframes are kinda hostile to empty lines. CMS is worse than z/OS. Are email headers case-insensitive? -- gil ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
