linux mail how to attach files
Replace path with the actual directory path in which the file to attach is located. Replace filename.ext with the actual file name and extension.. Replace subject with the subject line you want the email to have.Replace user@domain with the recipient's email address.he default application does not include the option to send an attachment with the email. However, you can combine the sendmail command with a separate command to send an attachment.