News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Web Development Blog:
Sending e-mails via SMTP with PHPmailer and Gmail
September 04, 2009 @ 14:56:14

On the Web Development Blog there's a recent post about using the PHPMailer package to send email out via the Google Mail servers.

These days I tried some plugin to send mail message within bbpress via SMTP. Since my domains email is hosted with Google applications I decided to send my messages via the SMTP server from Gmail. I found several articles and tutorials, but a lot of them didn't work for me. [...] You need for this code example a PHP5 enabled web host (I tested only on Linux), the port 465 need to be open and of course you need a Gmail or Google applications account.

Complete code is provided - a smtpmailer function that takes in the standard mail parameters (to, from, subject, msg) and ships the message off to the Gmail STMP servers (on their custom port 465).

1 comment voice your opinion now!
email tutorial gmail phpmailer stmp


blog comments powered by Disqus

Similar Posts

Zend: Zend Framework Database Access Webinar (Oct 31st, 2007)

ProDevTips Blog: Fluent Arrays and Strings in PHP

Giri Mandalika's Sun Blog: MySQL Native Driver for PHP, mysqlnd

Ibuildings techPortal: Tips for Working with DateTime in PHP

Rafael Dohms' Blog: Deploying a Symfony2 and Composer app on PagodaBox


Community Events





Don't see your event here?
Let us know!


code introduction developer framework opinion language refactor api release symfony2 podcast list threedevsandamaybe community series install unittest testing interview laravel

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework