How to install phpmailer in linux
PHPMailer - A full-featured email creation and transfer class for PHP. Probably its the world's most popular code for sending email from PHP. The only PHP function that supports this is the mail() function.
This article explains the steps to install phpmailer in linux server.
For Ubuntu servers,
Step1: Update the repositories
#apt-get update
Step2: Install phpmailer
#apt-get install libphp-phpmailer
For Centos servers,
Step1: Download the package
#wget https://github.com/PHPMailer/PHPMailer/archive/master.zip
Step2: Extract the downloaded file
#unzip master
Step3: Move phpmailer files to the required folder
#mv PHPMailer-master /folder/
That's all.......