[wp-hackers] Lost Password

Peter Westwood peter.westwood at ftwr.co.uk
Tue Nov 22 06:44:02 GMT 2005

Ron Guerin wrote:
> Denis de Bernardy wrote:
>> on free.fr, I recall mail and chmod were removed entirely (this may have
>> changed since). They replaced it with a custom function with a different
>> name on the one side, and a server side script that automatically chmoded
>> stuff as required on the other.
> If they've removed the function entirely, then I presume that free.fr
> users could put something like this in their wp-config.php
>   if(!function_exists('mail'))
>   {
>     function mail(....
>   }
> and after doing the same for chmod they could use an unaltered WP and
> not have to worry about extra work for upgrades.

Or the user could just install wp-phpmailer [1] which takes advantage of 
the pluggable-functions in wp 1.5.1 and later and replaces wp_mail() 
with a full SMTP implementation to talk directly to an SMTP server

1: http://www.coffee2code.com/archives/2004/06/28/plugin-wpphpmailer/

Peter Westwood

More information about the wp-hackers mailing list