Linux / Technologies / Ubuntu

Send E-mail via Linux Command (Ubuntu Based)


Sometimes, we need to send email via command lines, specifically for cron jobs or bash scripts. Message and results can be sent automatically when tasks are finished. One of most popular mailing tools is gnu mailutils. Below are the brief steps to install and use mailutils.

1. install the packages:

sudo apt-get install mailutils

sudo apt-get install sharutils (if you’d like to send attachments)

In the progress, one exim4 configuration screen will be prompted out.

View original post 82 more words


Leave a Reply

Please log in using one of these methods to post your comment: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s