Tag: mail
-
How to send mail to google apps accounts
Install ssmtp package: #yum -y install ssmtp* step-2 – Edit configuration file: #mv /etc/ssmtp/ssmtp.conf /etc/ssmtp/ssmtp.conf.bak //Create a new file #vi /etc/ssmtp/ssmtp.conf //Write following lines into newly created file root=xyz@domain // your email mailhub=smtp.gmail.com:587 hostname=xyz@domain //your email UseSTARTTLS=YES AuthUser=xyz@domain AuthPass=password // your email password FromLineOverrride=YES //Save file step-3 – Test send mail #echo “google…