uuencode how to mail attachments question
Can anyone tell me whats wrong with this line
uuencode $file2 | mailx -s "PROD Archive Backup ${date}" admin@host < $file1 So the goal is to mail file2 as an attachment and have a body of file1 Any help is greatly appreciated - Thx, Boyd |
The decode_pathname option is missing for the uuencode command.
|
FYI here's what i found to work -
(cat $file2; uuencode $file1 <attachment_name>)| mailx -s "attached file with body msg" |
All times are GMT -5. The time now is 01:38 AM. |