Re: Mime attachments

2008-03-27 Thread Kris Buelens
MAILIT with TEST option sends the result to your reader.  That is, the
mail body and the attachments.  If that format suits you, an extra
option would be easily added.  Your phrasing seems to suggest you'd
like to get two files: the mail body and the attachments.  That would
require a bit extra work to the PIPE in MAILIT's SendNetDataFile
subroutine.

2008/3/27, A. Harry Williams [EMAIL PROTECTED]:
 I'm looking for a utility that would take an email file and create the
  files that are mime attachments on disk.  There are several examples of the
  reverse on the VM downloads page (MAILIT, etc) or there is the SENDFILE, but
  there is nothing I can find that deals handling a file that has attachments
  (Yes, there is MAILBOOK, but I'm looking for something for automation).

  I know there would have to be some restrictions due to namespace and other
  issues, and I'm willing to live with some, but I haven't seen anything out
  there.  Before I look at writing something crude to do the minimum I need,
  is there anything I'm missing in my search?


  /ahw




-- 
Kris Buelens,
IBM Belgium, VM customer support


Re: Mime attachments

2008-03-27 Thread Mike Walter
What about Victor Strasser's OFSMIME package.  The README file includes:
---snip---
OFSMime Package V2.1.1  2000-02-08 
== 
 
E-mail is not just text anymore.  The Multipurpose Internet Mail 
Extensions (mime) standard allows information in just about any digital 
format to be sent as an attachment to a note.  OFSMime is a mime add-on 
for OfficeVision/VM.  It requires no modifications to your OfficeVision 
environment to function, and only minor customization to fully 
integrate it for your users. 
---snip---

Even if it's not an exact match (works great with email processed by 
PROFS, and I'm told, OV/VM), it could be a source of inspiration for your 
own perspiration.

Mike Walter 
Hewitt Associates 
Any opinions expressed herein are mine alone and do not necessarily 
represent the opinions or policies of Hewitt Associates.




A. Harry Williams [EMAIL PROTECTED] 

Sent by: The IBM z/VM Operating System IBMVM@LISTSERV.UARK.EDU
03/27/2008 07:48 AM
Please respond to
The IBM z/VM Operating System IBMVM@LISTSERV.UARK.EDU



To
IBMVM@LISTSERV.UARK.EDU
cc

Subject
Mime attachments






I'm looking for a utility that would take an email file and create the
files that are mime attachments on disk.  There are several examples of 
the
reverse on the VM downloads page (MAILIT, etc) or there is the SENDFILE, 
but
there is nothing I can find that deals handling a file that has 
attachments
(Yes, there is MAILBOOK, but I'm looking for something for automation).

I know there would have to be some restrictions due to namespace and other
issues, and I'm willing to live with some, but I haven't seen anything out
there.  Before I look at writing something crude to do the minimum I need,
is there anything I'm missing in my search?

/ahw





The information contained in this e-mail and any accompanying documents may 
contain information that is confidential or otherwise protected from 
disclosure. If you are not the intended recipient of this message, or if this 
message has been addressed to you in error, please immediately alert the sender 
by reply e-mail and then delete this message, including any attachments. Any 
dissemination, distribution or other use of the contents of this message by 
anyone other than the intended recipient is strictly prohibited. All messages 
sent to and from this e-mail address may be monitored as permitted by 
applicable law and regulations to ensure compliance with our internal policies 
and to protect our business. E-mails are not secure and cannot be guaranteed to 
be error free as they can be intercepted, amended, lost or destroyed, or 
contain viruses. You are deemed to have accepted these risks if you communicate 
with us by e-mail. 


Re: Mime attachments

2008-03-27 Thread David Boyes
ftp://ftp.andrew.cmu.edu/pub/mpack/

munpack is a fairly simple C program that does what you want (eats a
MIME-formatted input file with multiple MIME elements) and writes the
individual elements to files. You'll need to tweak the filename handling
(or use it in a BFS environment), but it should compile cleanly on CMS. 

There are also Perl implementations of similar tools, which will run
with Neale's port of Perl5 for OpenVM. 

-- db


Re: Mime attachments

2008-03-27 Thread Peter . Webb
I have a program that sits around waiting for e-mails to arrive in its
reader queue, then strips out HTML attachments into separate files.
Would that be of interest?

Peter

-Original Message-
From: The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] On
Behalf Of A. Harry Williams
Sent: March 27, 2008 08:49
To: IBMVM@LISTSERV.UARK.EDU
Subject: Mime attachments

I'm looking for a utility that would take an email file and create the
files that are mime attachments on disk.  There are several examples of
the
reverse on the VM downloads page (MAILIT, etc) or there is the SENDFILE,
but
there is nothing I can find that deals handling a file that has
attachments
(Yes, there is MAILBOOK, but I'm looking for something for automation).

I know there would have to be some restrictions due to namespace and
other
issues, and I'm willing to live with some, but I haven't seen anything
out
there.  Before I look at writing something crude to do the minimum I
need,
is there anything I'm missing in my search?

/ahw


The information transmitted is intended only for the person or entity to which 
it is addressed and may contain confidential and/or privileged material.  Any 
review retransmission dissemination or other use of or taking any action in 
reliance upon this information by persons or entities other than the intended 
recipient or delegate is strictly prohibited.  If you received this in error 
please contact the sender and delete the material from any computer.  The 
integrity and security of this message cannot be guaranteed on the Internet.  
The sender accepts no liability for the content of this e-mail or for the 
consequences of any actions taken on the basis of information provided.  The 
recipient should check this e-mail and any attachments for the presence of 
viruses.  The sender accepts no liability for any damage caused by any virus 
transmitted by this e-mail.  This disclaimer is property of the TTC and must 
not be altered or circumvented in any manner.