[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Email with attachments from the command line
> 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.