IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Sending multiple attachments thru mail


IBM Mainframe Forums -> All Other Mainframe Topics
Post new topic   Reply to topic
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
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: 8697
Location: Dubuque, Iowa, USA

PostPosted: Fri Feb 06, 2009 6:57 pm
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

Moderator Emeritus


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

PostPosted: Sat Feb 07, 2009 2:38 am
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> All Other Mainframe Topics

 


Similar Topics
Topic Forum Replies
No new posts INCLUDE OMIT COND for Multiple values... DFSORT/ICETOOL 5
No new posts Replace Multiple Field values to Othe... DFSORT/ICETOOL 12
No new posts Multiple table unload using INZUTILB DB2 2
No new posts Grouping by multiple headers DFSORT/ICETOOL 7
No new posts How to append a PS file into multiple... JCL & VSAM 3
Search our Forums:

Back to Top