Main menu

Overriding Drupal's mail() function

16 Jun 2008
Published by matt

I've moved this article at nmglc.co.uk/content/overriding-drupals-mail-function.  It outlines a quick way to override Drupal's default mail function() with your own.  It came in handy when I was trying to send email from a Drupal site hosted on my ISP's shared server and fell foul of a security requirement that PHP calls to mail() had to include extra header arguments.