what is wrong with this?

Creating and modifying plugins.
Post Reply
hong0
Regular
Posts: 6
Joined: Thu Nov 15, 2007 2:04 am

what is wrong with this?

Post by hong0 »

what is wrong with this and how i can do it?


Warning: mail() [function.mail]: Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in D:\wwwroot\pmysql\wwwroot\blog\plugins\serendipity_plugin_adduser\common.inc.php on line 62
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: what is wrong with this?

Post by garvinhicking »

Hi!

When you use PHP on windows, you can only send mails if you install a mailserver on windows (like Hamster). You'll also need to adjust your php.ini to point to the right mailserver.

Since this isn't serendipity related, you might find more precise help on this issue on a Windows-PHP-Forum?

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply