Jump to content

Problems with SMTP


dennylin93

Recommended Posts

I installed bbPress 0.8.2.1 on Windows XP Pro SP2 with Apache 2.2.4 and PHP 5.2.3. I installed a few plugins, and everything worked fine. However, when I tried to register a new user for testing, I couldn't receive the e-mail with the password.I checked the error log and found this:

[Sat Aug 18 21:18:09 2007] [error] [client 127.0.0.1] PHP Warning:  mail() [<a href='function.mail'>function.mail</a>]: 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:\\Program Files\\Apache Software Foundation\\Apache2.2\\htdocs\\forums\\bb-includes\\registration-functions.php on line 105, referer: http://127.0.0.1/forums/register.php

A small part from php.ini:

[mail function]; For Win32 only.SMTP = localhostsmtp_port = 25; For Win32 only.;sendmail_from = someone@example.com

Most things on Apache and PHP are set to default, so I'm not sure if I skipped any processes. I've been having trouble with SMTP for a long time now. Need to find a solution, thanks.

Link to comment
Share on other sites

Does your server machine have the SMTP installed?Edit: I see you also posted in the bbPress forums...

Link to comment
Share on other sites

The error message is indicating that it cannot connect to the mail server. According to php.ini, you are telling it to use a mail server running on your computer, so you need to install and set up a mail server. Or, you can upload the script to a server that is already configured with a mail server, most servers online are.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...