[wp-hackers] Adding phpmailer options (smtp for example)

Kimmo Suominen kimmo at global-wire.fi
Thu Aug 30 07:59:56 GMT 2007

On 29 Aug 2007, at 23:46, Callum Macdonald wrote:

> Investigating, I realise that phpmailer is bundled with WordPress  
> and it's configured to use PHP's mail() function by default.

On Thu, Aug 30, 2007 at 07:25:56AM +0100, Peter Westwood wrote:

> I don't think this kind of configuration is needed for 90% of users.   
> Therefore it would be better as a plugin.

I agree that a plugin is the best approach.  You could try this one:


It's the top hit for me for this search query:


There seem to be other plugins as well.

I think all that is necessary is to replace the wp_mail() function
with one of your own.  It is already pluggable.

I've written one plugin to replace wp_mail() in order to get multibyte
characters encoded in the headers.  It looks like this plugin is now
obsolete, but it still works as an example for replacing wp_mail().


Best regards,
+ Kimmo
<A HREF="http://kimmo.suominen.com/">Kimmo Suominen</A>

More information about the wp-hackers mailing list