MyBB Community Forums

Full Version: Error while people registering
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello.I have installed my forum but when people register they always get this error:

Quote: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 C:\xampp\htdocs\inc\functions.php on line 371


But still their user is created.After checking their inbox there is no new e-mail

Any idea to fix it? Thanks.


Edit: I have a file called php.ini-dist but it is not in the same folder with the php files for my forum.
You need to install an SMTP server on your server or you'll have to disable the activations for new users.
Admin CP -> Board Settings -> Change -> User Registration and Profile Options -> Registration Method -> change to instant activation.
okey,what about if people want to recover their password?
Nikolas1994 Wrote:okey,what about if people want to recover their password?

You should set an administrator email, if is blank email is not working
I have set one,i'm proud to be greek too
i just want to learn if i would get the same error too...
You will need to set up your SMTP server configuration if you want the mail features of MyBB to work. Otherwise MyBB cannot email anything.