MoinMoin Logo
  • Comments
  • Immutable Page
  • Menu
    • Navigation
    • RecentChanges
    • FindPage
    • Local Site Map
    • Help
    • HelpContents
    • HelpOnMoinWikiSyntax
    • Display
    • Attachments
    • Info
    • Raw Text
    • Print View
    • Edit
    • Load
    • Save
  • Login

Navigation

  • Start
  • Sitemap
Revision 1 as of 2013-06-24 02:06:16
  • UnixMailCommand

Unix mail command

It allows us to send a command from a UNIX console.

Sample usage:

  • mail -s "Mail subject" destination.email@example.net

  • Write down the mail message
  • Press CTRL+D to end the message and send the mail.

   1 [user@host home]$ mail -s "Test subject" destination.email@example.net
   2 Test message.
   3 Line 2
   4 Line 3
   5 EOT
   6 [user@host home]$
  • MoinMoin Powered
  • Python Powered
  • GPL licensed
  • Valid HTML 4.01