Drupal mailhandler smtp localhost error
As you know I always write my own technical articles and tutorials. However on this occasion I have come across an article that is so well written and the instructions (if followed) work so smoothly that there is nothing I have to say that I could add to make it any better.
If you have just installed mailhandler for Drupal and you would like to use it with GMail you may have come across a bunch of errors along the lines of:
Warning: mail() [function.mail]: Failed to connect to mailserver at “localhost” port 25, verify your “SMTP” and “smtp_port” setting in php.ini or use ini_set() in… and the like.
There are some other errors I’ve seen along the lines of ‘check the file includes\mail.inc line 194′ that were reported by Drupal. Well I checked the the mail.inc folder and lo and behold there was no function of the correct name and it certainly wasn’t on line 194…
Anyway to cut a long post short I hate Microsoft Exchange – it’s an over bloated overly complex, un spam filtered pile of pap and it also costs money to.
The answer is to use GMail (Google Apps) which is completely free, very stable, highly available, spam filtered and uses SSL.
If you’re running a Windows server with PHP you’ll find that the php.ini file doesn’t support SSL/TLS and a number of other things – That’s where this article comes in. Check it out!
Also check out this article for receiving mail to your Drupal site using mailhandler here:
http://www.willisbros.net/blog/2007/11/06/want-to-use-drupals-mailhandler-module-with-gmail/
Related posts:
- Drupal Gmail Module – Solved.
- WP Mail SMTP Settings for GMail.
- WordPress Contact Form 7 & WP-Mail-SMTP problem solved
- Drupal ‘white screen of death’ – error reporting for PHP
- Beginning Drupal
Tags: drupal
Leave a Reply
Hot Topics
- Creating a Drupal 6 custom login form – Step by Step tutorial.
- WordPress Contact Form 7 & WP-Mail-SMTP problem solved
- imagecache wrong path – SOLVED!
- 7129/6105195 Edward Leedskalnin’s anti-gravity – How he built Coral Castle.
- How to take Ownership of a Drive, Folder or File in Windows 7
- WordPress widgets not saving or dragging?
- Firefox – update favicon.ico (SOLVED)
- IE emulator for FireFox
- Site off-line The site is currently not available due to technical problems. Please try again later. Thank you for your understanding. (SOLVED!)
- Access denied – Drupal 6.x
Archives
- November 2011
- September 2011
- August 2011
- June 2011
- January 2011
- December 2010
- November 2010
- October 2010
- May 2010
- April 2010
- March 2010
- February 2010
- January 2010
- December 2009
- November 2009
- October 2009
- September 2009
- August 2009
- July 2009
- June 2009
- May 2009
- April 2009
- January 2009
- December 2008
- August 2008
- June 2008
