Re: [Exim] How can I send mail with attach MIME?

Top Page
Delete this message
Reply to this message
Author: Suresh Ramasubramanian
Date:  
To: Magno Weege de Oliveira
CC: exim-users
Subject: Re: [Exim] How can I send mail with attach MIME?
[3/31/2004 7:17 PM] Magno Weege de Oliveira :

> Hi, my question is too newbie but I realy need some directions! so...
> I installed exim 4.30 (working properly!) and I wanna make a script to
> send a maill with attach files.
> I already read some docs (maybe I need read more... :) about exim
> without succes! :-(
> I wanna encode a file (MIME - base64) and attach it to send after....
> I try this:
> uuencode -m file.txt | exim -f "" localmail@???


There are perl modules like MIME::Tools or MIME::Lite that can help you

Or a simpler way - you can call mutt (http://www.mutt.org) or nail
(http://nail.berlios.de) from the command line. nail is a MIME aware
mailx clone, fyi.

    srs