Trouble sending e-mails with your “normal” GMail account? If you own a domain name, you can register for a Google Apps account or check below the tutorial update about an alternative SMTP service! PHPMailer tutorial for GMail and Google Apps You need for this PHPMailer code example a PHP5 enabled web host (I did tests only on Linux), the port 465 need to be open and of course you need a GMail or Google Apps account. Because of some limitations, the SMTP server from Google is a good choice applications with less than 500 recipients a day, check this information from the Google help pages. If not or you host your site on your own server, there is always a risk that your IP address get blacklisted. The chance is big that your websites IP address is on a blacklist if your site is on hosted by a shared web hosting provider. Why using GMail for sending mail messages?įirst of all it’s FREE! Sure most website owners can use their own SMTP server for sending email messages from their website, but it makes sense even than to use GMail for sending mail. I found several articles and PHPMailer tutorials, but a lot of them didn’t worked for me. Since my domain’s email is hosted with Google applications I decided to send the messages via the SMTP server from GMail. These days I tried some PHP scripts to send the e-mail messages for my contact form via SMTP.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |