How do I add an attachment in Sendmail?

How do I add an attachment in Sendmail?
Answer
Type uuencode /path/filename.txt | sendmail -s “subject”
[email protected]
in your terminal to send mail. Replace “path” with the actual directory path in which the file to attach is located. Replace “filename.
 

Tìm kiếm

Back
Top