formail options!!

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I am using formail to parse my emails!!!

How can i use its options to separate the header, body and attachments of 
emails!!!

Im using following options but these are not working properply,,, can any body 
tell me how can i use these properly for parsing my emails.

To extract the header from a message:
formail -X ""
or
sed -e '/^$/ q'

To extract the body from a message:
formail -I ""
or
sed -e '1,/^$/ d'
-- 

Muhammad Rizwan Khan
http://nixpanel.com
MSN ID: nixpanel@xxxxxxxxxxx


-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux