As previously posted, you need to work with your mail server admin. sendmail is not normally on WinDoze boxes, so do some googling for the setup you have, and talk with your admins to see what you need to do to get it set up to work correctly. Wolf Daniel Brown wrote: > On 10/25/07, Jens Kleikamp <jens@xxxxxxxxxxxxxxxxxx> wrote: >> Diana schrieb: >>> I dont know what I did but now I get this message Failed to connect to >>> mailserver at "localhost" port 25, verify your "SMTP" >>> >> Do you have a smtp server running on localhost? >> >> -- >> PHP General Mailing List (http://www.php.net/) >> To unsubscribe, visit: http://www.php.net/unsub.php >> >> > > Diana, > > Try to keep all of the messages in a single thread so that people > searching the archives can benefit from your solution as well. > > Check into the following: > > 1.) Is there an SMTP server running on port 25 on the local machine? > 2.) Is there a firewall blocking incoming or outgoing connections > on that port? > 3.) Is PHP able to connect to any remote SMTP servers, or by domain name? > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php