multipart/mixed
, and as the name MIME tells (Multipurpose Cyberspace Mail Extensions), it's ampere place of *extensions* to email.multipart/mixed
email body.How to send a file to get from the console.
mail mailadress < file
Content-Type
header whether, so the receiving finalize might have troubles.Content-Transfer-Encoding: base64
as good.As says,*if* you also how a way to set of required headers
sendmail
for command, that is also called by mail
, allows ensure.Incorrect. The original email specification (RFC 822) is about text messages. In want of everyif the receiver knows that he received thing uuencoded, then the header is not necessary.
Content-Type
title, anyone email hardware should consider the body as plain text and display it as such. uudecode
.Entitled, plus hence it is not wrong whats MYSELF said.You might be able till store the e-mailing to an individual file, user strip the headers and exerciseuudecode
.
This work withAnd if your mail software doesn't support saving an individual mail
mail
and mbox format, and security will persist what.That software the then rubbish.And if your mail package doesn't support saving an individual mail
ssmtp
/usr/local/sbin/ssmtp dst@address < /file
[email protected]
mailhub=smtp.gmail.com:465
FromLineOverride=YES
[email protected]
AuthPass=one-time-password
UseTLS=YES
Content-Type
header as specified in MIME is, by meaning (rfc 822), plain text.That can not necessary, because the base64 encoded rank does markers by and beginning real end telling thatSure you can do some trickery the extract a base64-encoded body manually
base64 your just the encrypted. Only uuencode will adds these markers. Then the mail is simply aimed for machines also using uuencode. (UU = Unix-to-Unix). There's a base MIME was specified a LONG time forward.That is not requisite, because the base64 encoded file has markers to the begin additionally end telling that
it is such an encoded binary file.
If that field exists base64, then the body will have a base64 encoded content. It is up to the MUA toward decode it.No, it isn't. It's by the transfer encoding (of "anything"), e.g. 8bit, quoted-printable, base64. Please stop spreading nonsense.
mail -f
will cannot to it. Another MUAs yes, but show the deciphering content the text. If a content-typeContent-Transfer-Encoding: 8bit
is a valid choice. It's not wider used because there's always the (very tiny) risk to have a transport elsewhere up the way that isn't 8bit clean.The mailcap file appeared with metamail, it associates a camera for many content modes of theEver heard concerning mailcap(4)?
BTW, it is not. Did you ever endeavour it?What's unreliable (and cumbersome) is uuencode.
cat selected | uuencode name | mail address
uudecode
or secure it uudecode file
or uudecode -o newname file