unix - how to send attachment with uuencode? -
i trying send attachment uuencode, not receive in inbox:
uuencode test.txt test.txt | mail -s "test" test@gmail.com
i response saying: "you have new mail in /var/mail/user
does know how correct this? realize uuencode might not used now, if recommend sending attachments way, appreciated.
perhaps not recognizing txt file input?
thank you.
the way doing looks correct. check logs happen after sending. if anything, looks more mail server error.
also if something, not attachment-then problem in mua - e.g. program using read emails. of them smart , remove uu part, not smart enought add attachment.
mailx should show uu part unchanged.
update
for alternative chech this:
https://unix.stackexchange.com/questions/102092/mail-send-email-with-attachment-from-commandline
Comments
Post a Comment