Thanks Jost Baron, I am getting the below warning and error. Warning: require(doc/PHPMailer/class.PHPMailer.php): failed to open stream: No such file or directory in /var/www/domainname.com /doc/contactform.php on line 3 Fatal error: require(): Failed opening required 'doc/PHPMailer/class.PHPMailer.php' Regards Krijesh PV.