Skip to Navigation

matthine.com

Overriding Drupal's mail() function

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.