LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (http://www.linuxquestions.org/questions/linux-networking-3/)
-   -   want to send mail to other clients through terminals (http://www.linuxquestions.org/questions/linux-networking-3/want-to-send-mail-to-other-clients-through-terminals-714923/)

am_it_wild 03-27-2009 04:24 PM

want to send mail to other clients through terminals
 
FOR SENDING MAIL TO PERSONS WORKING ON OTHER TERMINAL ON THE SAME MACHINE.

1.Go to the terminal and type
$who
this will give you the list of users who are working on some other terminal

2.install package mailx and mailutils
$sudo apt-get install mailx
$sudo apt-get install mailutils

3.type on the terminal.
suppose there is a user on the terminal tty2 called amit
$mail amit
press enter
you will see
Cc:
type the one to whom you want to send a carbon copy otherwise left blank
then type enter then there comes a subject part
subject:
say hi then press enter
type your message

then press ctrl+d
then enter

4.go to that terminal and type
$mail
you will see some mails and messeges
browse through + and - buttons
then there comes an and prompt
&
you can type commands to and prompt like

1.After examining a message you can delete message by typing d
2.You can reply message by typing r
3.The message can be undeleted u by giving its number, or the mail session can be aborted by giving the exit x command or exit command


All times are GMT -5. The time now is 03:56 AM.