PC Review


Reply
Thread Tools Rate Thread

Command line program which will extract attachments from emails

 
 
Ben Wylie
Guest
Posts: n/a
 
      22nd Jan 2005
Is there a freeware program which can be run via the command line, to
extract
attachments from emails. The email files will be .eml files directly from my
Mailserver.

What i'd like to do is to automatically take attachments from particular
emails and dump
them in a folder.

The next step i'd like to do is to automatically send the files to a
specified printer.
However the first step is finding a program which can take an .eml file and
take attachments
from the file and save them to a folder.

Thanks for your help,
Ben


 
Reply With Quote
 
 
 
 
charles
Guest
Posts: n/a
 
      22nd Jan 2005
On Sat, 22 Jan 2005 14:53:42 GMT, "Ben Wylie" <benwylie@_hotmail_.com>
wrote:

>Is there a freeware program which can be run via the command line, to
>extract
>attachments from emails. The email files will be .eml files directly from my
>Mailserver.
>


mpack/munpack version 1.5 for dos

Mpack and munpack are utilities for encoding and decoding (respectively)
binary files in MIME (Multipurpose Internet Mail Extensions) format mail
messages. For compatibility with older forms of transferring binary
files, the munpack program can also decode messages in split-uuencoded
format. The Macintosh version can also decode messages in split-BinHex
format.

Versions are included for unix, pc, os2, mac, amiga and archimedes
systems. The canonical FTP site for this software is
ftp.andrew.cmu.eduub/mpack/


 
Reply With Quote
 
Ben Wylie
Guest
Posts: n/a
 
      23rd Jan 2005
"charles" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> mpack/munpack version 1.5 for dos


Thank you very much indeed. That has worked well.

Now ...

Is there a program which will send a .txt .doc .pdf .rtf straight to a
printer?
I expect it is unlikely for all of these to be in one program, but you never
know.

I have microsoft office, but don't think there is any kind of command line
printing
function that i have found. So is there a program 'out there' which will
take one
or all of these file types, and is able to send them to a specified printer
via the
command line? Perhaps it will open a virtual copy of the document and send
it to
the printer, without actually displaying anything on the page.

Thanks again for your help,

Ben


 
Reply With Quote
 
ggrothendieck@volcanomail.com
Guest
Posts: n/a
 
      23rd Jan 2005
Ben Wylie wrote:
> Is there a program which will send a .txt .doc .pdf .rtf straight to

a
> printer?
> I expect it is unlikely for all of these to be in one program, but

you never
> know.
>
> I have microsoft office, but don't think there is any kind of command

line
> printing
> function that i have found. So is there a program 'out there' which

will
> take one
> or all of these file types, and is able to send them to a specified

printer
> via the
> command line? Perhaps it will open a virtual copy of the document and

send
> it to
> the printer, without actually displaying anything on the page.

Google for classExec . e.g. classExec abc.doc -action print

 
Reply With Quote
 
Gert van der Kooij
Guest
Posts: n/a
 
      23rd Jan 2005
In article <UbEId.2648$(E-Mail Removed)>, Ben Wylie
(benwylie@_hotmail_.com) says...
> "charles" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
> > mpack/munpack version 1.5 for dos

>
> Thank you very much indeed. That has worked well.
>
> Now ...
>
> Is there a program which will send a .txt .doc .pdf .rtf straight to a
> printer?


copy ?
 
Reply With Quote
 
charles
Guest
Posts: n/a
 
      23rd Jan 2005
On 23 Jan 2005 01:12:15 -0800, (E-Mail Removed) wrote:

>Google for classExec . e.g. classExec abc.doc -action print


Neat find.

And for .pdf's you can autoprint using the commandline:

acrord32.exe /p /h filename

 
Reply With Quote
 
Ben Wylie
Guest
Posts: n/a
 
      26th Jan 2005
charles wrote:
> On 23 Jan 2005 01:12:15 -0800, (E-Mail Removed) wrote:
>
>> Google for classExec . e.g. classExec abc.doc -action print

>
> Neat find.
>
> And for .pdf's you can autoprint using the commandline:
>
> acrord32.exe /p /h filename


Thank you both for both of your advice.
I now have this working fine.
The acrord32.exe one doesn't work quite as well, as they haven't implemented
all of the command line switches as they had before. You used to be able to
do /p /h to have it remain hidden throughout or have /t for it to terminate
once printing has finished. Now the only thing it will do is to open and
print. So i have used a program called closeapp to close acrord32.exe after
giving enough time to print.

Thanks again for your help,
Ben


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Looking for command line utility to extract dpi from image files No I'm Spartacus Freeware 5 8th Jun 2006 12:45 PM
Re: Command line program which will extract attachments from emails BEN.RITCHEY@family-news.org Freeware 0 23rd Jan 2005 04:48 AM
Is there a command line command to extract just the files within a .msi file. Lawrence Windows XP General 5 4th Nov 2004 04:27 AM
Is there a command line command to extract just the files within a .msi file. Lawrence Microsoft Windows 2000 5 4th Nov 2004 04:27 AM
command line extract Neal Makely Windows XP General 2 21st Jul 2004 10:36 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:56 PM.