Sending e-mails via SMTP with PHPmailer and Gmail

SMTP for Gmail tutorial If you don’t have one, register a GMail account or setup your domain for Google applications. Download a recent version of PHPMailer (I used the version 5.02) Check with your web hosting provider if port 465 (TCP out) is open, if not ask him to open that port Include the PHPMailer class …