title: Installed libphp-mailer on ubuntu server, how can I use it in web projects?
body: <p>I have been trying to use the mail() function without any success : I don't have any precise errors, and it returns "true" but the email is never received.</p>
  
  <p>sendmail works from command line by doing <code>echo "Subject: sendmail test" | sendmail -v nono88@emailaddy.com</code> in the ssh shell, the email is sent.</p>
  
  <p>Therefore I am trying to install and use PHPmailer see if that could help. It could probably give more information about any failures. So, I have ran apt-get install libphp-phpmailer and it installed the needed files into <code>/usr/share/php/libphp-phpmailer</code>.</p>
  
  <p>How can I simply include the php files needed in the script I want to try, knowing that all my projects are <code>in /var/www/html/[...]</code> ?</p>