Search: in
Mail (Unix)
Mail (Unix) Encyclopedia
  Tutorials     Encyclopedia     Dictionary     Directory  
Mail_(Unix) Email this to a friend      Mail_(Unix)

Mail (Unix)

mail is a command line e-mail client for Unix and Unix-like operating systems.

Example usage

 mail -s "You've got mail" -c cc.rider@b.c somebody@example.com anotherbody@example.net

This sends a message with the subject "You've got mail" to two recipients, somebody and anotherbody, and CCs (copies) a third, cc.rider. The message will be typed after the command is entered and will be ended with Control-D.

If you want to send a message in one line, use any Unix command sequence that generates text. For example:

 echo "Some message" | mail -s "meeting today" somebody@example.com 

This is especially useful for having a system report its status automatically through E-mail.

There is also a -a option for using an ISO-8859 character set beyond US Ascii. For instance:

 mail -s "You've got mail" -a ISO-8859-8 somebody@example.com

The -a ISO-8859-8 option tells Mail that the message may include Hebrew characters.

pl:mail (Unix)





Source: Wikipedia | The above article is available under the GNU FDL. | Edit this article



Related Links in Mail (Unix)

Search for Mail (Unix) in Tutorials
Search for Mail (Unix) in Encyclopedia
Search for Mail (Unix) in Dictionary
Search for Mail (Unix) in Open Directory
Search for Mail (Unix) in Store
Search for Mail (Unix) in PriceGig



Help build the largest human-edited directory on the web.
Submit a Site - Open Directory Project - Become an Editor

Advertisement

Advertisement



Mail (Unix)
Mail_(Unix) top Mail_(Unix)

Home - Add TutorGig to Your Site - Disclaimer

©2008-2009 TutorGig.com. All Rights Reserved. Privacy Statement