sendmail question
plug@arcticmail.com
plug@arcticmail.com
Thu, 16 Nov 2000 10:26:12 -0700
Install mutt. mutt can be used from the command line
to MIME-attach binary files with the "-a <filename>"
option.
Another option is to use "metamail," but I've found
mutt to be easier.
I'm sure there's a Perl MIME module (and SMTP module
and RFC822 module and...), but
system( "echo 'hello, body' | mutt -a q.gz -s 'sub ject' foo\@bar.xxx" );
is so irresistable.
D
OpNIX - Pipes So Fat They Echo
* On Thu, Nov 16, 2000 at 06:25:08AM -0700, Sean Roe wrote:
> Hi All,
>
> I am trying to find out how to do attachments with sendmail from the command line. Actually
> I want to do it from inside a perl script. I have checked all the places I know to look but haven't
> found it. What I want to do is allow somebody to upload a file via zmodem and then email it to somebody.
>
> Anybody got any ideas?
>
> TIA,
> Sean