[wp-hackers] wp_mail() help

Robin Adrianse shorty114 at shorty114.net
Sat Aug 19 01:13:54 GMT 2006


According to the mail() manual page (http://www.php.net/mail), the PHP mail
functions use the UNIX program sendmail, which is not available on Windows.
Therefore, there are several configuration directives that you can set so
the function uses an SMTP connection instead (SMTP and smtp_port).

I believe there are libraries that can do this transparently for you, I know
phpBB employs a similar method.

On 8/18/06, AJ Chen <canovaj at gmail.com> wrote:
>
> I'm developing plugin using php 5 on windows XP. The function wp_mail()
> does
> not work because php mail() function returns false.  I read through lots
> of
> questions and replies, but still not clear.  I would like to stick with
> wp_mail() and mail() instead of a mail plugin for simplicity reason. Any
> idea how to make php mail() work on windows XP?
> Thanks,
> AJ
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>


More information about the wp-hackers mailing list