[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Email with attachments from the command line



I use "pine name@domain.com -attach file.txt" in some
scripts but it requires you to typr Ctrl X to send and
there's no way to feed a subject.  It does speed up the
process but I wish there was a better way.

--- Jay Link <jlink@ilbbs.com> wrote:
> 
> > I need to send an email with an attachment from the
> command line.  I
> > have tried to use the "mail" command but found it is
> not able to send
> > a file as an attachment.
> 
> Right -- attachments use Base64 encoding (which changes
> binary files to
> text), and then the body of the email must use multi-part
> MIME formatting.
> I don't know of any easy way to do this from the command
> line, but there
> may be a program already written.
> 
> Otherwise, happy coding!
> 
> 
> -JL
> 
> 
> -
> To unsubscribe, send email to majordomo@luci.org with
> "unsubscribe luci-discuss" in the body.


__________________________________________________
Do You Yahoo!?
Great stuff seeking new owners in Yahoo! Auctions! 
http://auctions.yahoo.com

-
To unsubscribe, send email to majordomo@luci.org with
"unsubscribe luci-discuss" in the body.