terminal – MIME Equivalent of uuencode for Sendmail

emailpipesendmailterminal

e.g., I've got files I want to send by sendmail but the receiving mailbox (for posting pictures to my blog) will not accept uuencode files a la

$uuencode file | sendmail user@domain

I'm guessing it'll accept MIME though. So what command can I use instead?

Best Answer

You need mimencode from the metamail package... Debian has some package info, but the package is based on ancient Bellcore code.

If you're just trying to send mail though, you might look into using mutt; I think it can mimencode attachments from the commandline.

Related Question