The separator line is CRLF, no other character. A line containing SP CR LF will not work. I suspect that the SMTP and CSSMTP external writers have the smarts to strip out extraneous spaces; that should be easy to test.
-- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 ________________________________________ From: IBM Mainframe Discussion List [[email protected]] on behalf of Paul Gilmartin [[email protected]] Sent: Thursday, April 28, 2022 9:45 AM To: [email protected] Subject: Re: [EXTERNAL] Re: Send an email with a Zip file as an attachment? On Thu, 28 Apr 2022 13:09:04 +0000, Sasso, Len wrote: >Below is the input to IEBGENER: > >MIME-VERSION: 1.0 >CONTENT-TYPE: MULTIPART/MIXED; BOUNDARY="SIMPLE BOUNDARY" > >--SIMPLE BOUNDARY >CONTENT-TYPE: APPLICATION/ZIP; BOUNDARY="SIMPLE BOUNDARY" >CONTENT-DISPOSITION: ATTACHMENT; FILENAME=TEST.ZIP >CONTENT-TRANSFER-ENCODING: BINARY > >//* >// DD DISP=SHR,DSN=TEST.ZIP >//* Is the line separating the headers from the body absolutely empty? RFC 822 requires this, but the ISPF Editor abhors empty lines (Why, dammit!) and tends to pad them with a single blank. -- 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
