I want to know how to send email from the Linux command line. The linux command line is use to parse data, monitor processes but how to use it for mail, what are commands?
I want to know how to send email from the Linux command line. The linux command line is use to parse data, monitor processes but how to use it for mail, what are commands?
Sending and receiving mail from Linux command line is quite command under UNIX or Linux operating system. First run a quick test to make sure the “sendmail” application is installed and working correctly. Execute the following command, replacing “you@youremailid.com” with your e-mail address.
You need to use the following command to send mail on linux command line : $ from > The from utility prints out the mail header lines from the invoker’s mailbox. To send a message to one or more people, type message but you need press 'control-D ' at the beginning of a line.
pine is text based program for reading electronic mail under UNIX operating systems.Pine sport s a full-screen interface and a context-sensitive list of commands on each screen. It is text-based, so it will run even on old and slow computers and over slow internet connections. It is menu-driven, so it is easy to learn to use. It works well for receiving and sending mail.
I would recommend you to read this post for learning about sendmail command line usage and option : sendmail in command line. Hope this helps...
Bookmarks