FreeBSD > Sending a Message by E-Mail
E-mail is a way of sending a message between users and administrators from command prompt for shell script. Use mail command as follows
mail -s "Subject" username-name or email-id
email message
email message
…
..
When the message is complete, press Control-D or type dot character and press return/enter key.
1) To send email to root user to notify printing problem
mail -s "printing problem" root@admin.test.com
Hi Admin
I am having problem with printing can you please check up what is wrong with it. It was working fine untile late evening after that it is not printing from my HP-UX workstation.
Thanks
Joy D.
Please note you can also use webmail program form your web browser or other mail client if already configured.
You may also be interested in other helpful articles:
- FreeBSD > Sending a Message to an Individual User
- FreeBSD / Linux: Sending a Message to Windows Workstation with smbclient command
- FreeBSD >Sending a Message to All Users on a System
- FreeBSD >Sending a Message to All Users on a Remote UNIX/Linux/FreeBSD System
- Spam Celebrates Its 30th Anniversary This Weekend
Leave a Reply
We encourage your comments, and suggestions. But please stay on topic, be polite, and avoid spam. Thank you very much for stopping by our site!


Recent Comments
Yesterday ~ 24 Comments
Yesterday ~ 24 Comments
Yesterday ~ 3 Comments
Yesterday ~ 2 Comments
09/05/2008 06:08 pm (2 days ago) ~ 16 Comments