Sending mail using 'mail'From: Richard Tricoche

>mail -s "here is the mail log file" [EMAIL PROTECTED] < maillog.log
>Or
>cat maillog.log | mail -s "yet another attempt" [EMAIL PROTECTED]

both of them should work ok... the text of the log should be included as the
message body..
I can't understand why it didn't work for you... but it will send it on the
BODY

so if you want to send a binary file, you'll see lots of garbage in the body
if you want to send attachments you can use mutt

cat messageBody.txt | mutt -a /path/to/maillog.log -s "here is the mail
log!!!" [EMAIL PROTECTED]

regards,

Juan



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to