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!

http://digiex.net/guides-tutorials/544-configuring-php-under-windows-use-gmail-external-smtp-server-ssl.html

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/

0 comments

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>