Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Sending multiple attachments thru mail

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics
View previous topic :: :: View next topic  
Author Message
sriramvempaty

New User


Joined: 02 Aug 2007
Posts: 18
Location: india

PostPosted: Fri Feb 06, 2009 5:29 pm    Post subject: Sending multiple attachments thru mail
Reply with quote

Hi,

I'm able to send a mail with single attachment (csv file).

Is there a way to mail multiple attachments (csv files)?

Thanks
Back to top
View user's profile Send private message

Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8118
Location: East Dubuque, Illinois, USA

PostPosted: Fri Feb 06, 2009 6:57 pm    Post subject:
Reply with quote

A Google search of "smtp multiple attachments" returns about 188,000 hits. The first page pretty much has a number of packages to do this, all of which require some sort of payment. I suspect your requirement cannot be met without purchasing a package. However, I've never tried sending multiple attachments through SMTP so I have no idea about whether or not it can be done except through these packages.

You could use tar or pax (or even GZIP, if it is installed at your site) to create a single file and attach it to your email.
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Sat Feb 07, 2009 2:38 am    Post subject:
Reply with quote

Hello,

If you use XMITIP, multiple attachments work (at least on one system) icon_wink.gif

I used a separate dd statement for each file to be attached and the XMITIP line identifying them is:
Code:
         FILEDD (ATT1 ATT2)
Where ATT1 & 2 are the dd's for the files to be attached. Each file arrives as a separate attachment. I used different lrecls (80/133) and both opened successfully in notepad.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Changeman get multiple "Browse C... elixir1986 Compuware & Other Tools 4 Fri Jul 14, 2017 1:48 am
No new posts How to write Specific Fields from Mul... Padhu SYNCSORT 6 Thu Jul 06, 2017 10:26 am
No new posts NDM syntax checking without actually ... GAPX1 All Other Mainframe Topics 0 Wed Jun 07, 2017 2:36 am
No new posts Unable to create multiple files using... mbattu COBOL Programming 3 Fri May 05, 2017 5:35 pm
This topic is locked: you cannot edit posts or make replies. SDSF multiple spool datasets extracte... PJAlarcon CLIST & REXX 1 Fri Apr 21, 2017 10:50 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us