How do you send an attachment in the body of an email in Unix?

How do you send an attachment in the body of an email in Unix?
Answer
Use the new attachment switch (-a) in mailx to send attachments with the mail. The -a options is easier to use that the uuencode command. The above command will print a new blank line. Type the body of the message here and
press [ctrl] + [d] to send.
 

Tìm kiếm

Back
Top