Here is an example generated by XMITIP using the Debug option - I've shifted 
things over 1 character hoping it doesn't cause any issues with the 
mailing/receiving.

This should provide a usable example for the OP.


 HELO N1                                                                        
        
 MAIL FROM:<[email protected]>                                                   
       
 RCPT TO:<[email protected]>                                                     
       
 DATA                                                                           
       
 Sender: <[email protected]>                                                     
       
 Date: Thu 28 Apr 2022 09:41:24 -0400                                           
       
 From: [email protected]                                                         
       
 Reply-To: [email protected]                                                     
       
 To: [email protected]                                                           
       
 X-Mailer: XMITIP 21.03 Rexx Exec for z/OS created by LBDYCK job:LBDYCK/T00451  
       
 Subject: test                                                                  
       
 Mime-Version: 1.0                                                              
       
 Content-type: multipart/mixed; 
boundary="Mime.Part.XMITIP.28Apr202234884.0x0zlrhg"    
                                                                                
      
 This is a multi-part message in MIME format.                                   
       
 --Mime.Part.XMITIP.28Apr202234884.0x0zlrhg                                     
       
 Content-Type: text/html; charset=iso-8859-1                                    
       
 Content-Transfer-Encoding: 8bit                                                
       
                                                                                
      
 <html><body><pre>                                                              
       
 This is a test                                                                 
                    
 </pre>                                                                
 <p><pre><FONT size="2">                                               
                                                                      
* -------------------------- 21.03 -------------------------- *       
* E-Mail originated from:                                     *       
* Jobname:       LBDYCK         JobID:         TSU00451       *       
* Userid:        LBDYCK         User Name:     LIONEL B. DYCK *       
* System:        CBT            Node:          N1             *       
* Date:          April 28, 2022 09:41:24 (-0400)  (Thursday)  *       
* ----------------------------------------------------------- *       
                                                                      
                                                                      
 --Mime.Part.XMITIP.28Apr202234884.0x0zlrhg                            
 Content-Type: application/octet-stream;                               
               name="test.zip"                                         
 Content-Transfer-Encoding: base64                                     
 Content-Disposition: attachment;                                      
    filename="test.zip"                                                
 Content-Description:  test.zip                                                 
    
                                                                                
   
 UEsDBBQAAAAIACxNnFQtq+1AeAAAAKQAAAAWAAAATEJEWUNLLlo0MjIwNi4kSk9CLlRYVE2MMQ7D   
    
 MAhF90q9g6emlZDstjODE0jilMZRsQff/yIlyhIk0AP0n/fSUxs+zrkl984W6CTllaWDH09GGL6w   
    
 5pLGhjdtWhPBIFEVoztVCOFp/b5evM+1HEeDzZh4jFUKNlZYWMmiImBPSrrhfc5CsI/HWbgbX4fx   
    
 D1BLAQIXDxQAAAAIACxNnFQtq+1AeAAAAKQAAAAWAAAAAAAAAAEAAAAAAAAAAABMQkRZQ0suWjQy   
    
 MjA2LiRKT0IuVFhUUEsFBgAAAAABAAEARAAAAKwAAAAAAA==                               
    
 --Mime.Part.XMITIP.28Apr202234884.0x0zlrhg--                                   
    
                                                                                
   
 .                                                                              
     
 QUIT                                                                           
    


Lionel B. Dyck <><
Website: https://www.lbdsoftware.com
Github: https://github.com/lbdyck

“Worry more about your character than your reputation. Character is what you 
are, reputation merely what others think you are.”   - - - John Wooden

-----Original Message-----
From: IBM Mainframe Discussion List <[email protected]> On Behalf Of 
Paul Gilmartin
Sent: Thursday, April 28, 2022 08:26 AM
To: [email protected]
Subject: Re: [EXTERNAL] Re: Send an email with a Zip file as an attachment?

On Thu, 28 Apr 2022 13:11:26 +0000, Sasso, Len wrote:

>I have also tried:
>
>CONTENT-TYPE: APPLICATION/OCTET-STREAM; BOUNDARY="SIMPLE BOUNDARY"
>
Are any of these case-sensitive?  I believe they're supposed to be insensitive, 
but the author of some downstream utility may have erroneously assumed 
otherwise.

Email yourself a .zip from a desktop system; copy and paste its headers.

--
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

Reply via email to