Open main menu

Changes

4 bytes added ,  12:42, 27 July 2016
no edit summary
If you want to add email to your PHP application or website, then use [https://github.com/PHPMailer/PHPMailer PHPMailer], [http://swiftmailer.org/ Swift Mailer] by SensioLabs, or other fine alternatives. Don't use PHP's <code>mail()</code> function unless you are really going for basic messaging to yourself only. You can also use Google's SMTP server to send but you'll still end up being dependent on the 'cleanliness' of your IP for delivery.
Make sure your server IP is not blacklisted or firewalled. [[Telnet ]] to Google:
<source lang="bash">
telnet smtp.gmail.com 25
4,558

edits