How Do I Email a File in Unix?
Contents How Do I Email a Unix File? Method 2: –A Switch in Mailx Command Use the New Attachment Switch (-A) in Mailx to Send Attachments with the Mail. the -a...
Contents
How do I email a Unix file?
Method 2 : –a switch in mailx command
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.
Must Read
How do you send an attachment in Unix?
Below are the various, well known methods of sending email with attachment from the terminal.
- Using mail Command. mail is part of the mailutils (On Debian) and mailx (On RedHat) package and it is used to process messages on the command line. …
- Using mutt Command. …
- Using mailx Command. …
- Using mpack Command.