Error: Failed sending email :: PHP ::

Solutions for other frequently encountered problems with running phpBB.

Moderator: Moderators

Error: Failed sending email :: PHP ::

Postby Freestyle XL on Mon Sep 12, 2005 9:05 pm

That error means php cannot send emails.

If you are using free hosting then the only solution is to disable emails. In control panel make sure "account activation" is set to "none" because users won't be able to receive email confirmations. Then open includes/emailer.php, find this
Code: Select all
   function send()
   {
      global $board_config, $lang, $phpEx, $phpbb_root_path, $db;
and add after it
Code: Select all
      return true;



If you are hosting forum on your own computer then open php.ini (it should be in directory c:\winnt\ or c:\windows\ or wherever your windows is located. if it isn't there then copy php.ini-dist from php directory to that file and rename it to php.ini), find this
Code: Select all
[mail function]
; For Win32 only.
SMTP =
and set "SMTP" to your internet provider's mail server.
My phpBB Styles: »AcidTech« »Counter-Strike« »Getaway« »GreenTech« »Jet«
User avatar
Freestyle XL
Designer
Designer
 
Posts: 75
Joined: Thu Aug 04, 2005 10:53 am

Return to Common Problems

Who is online

Users browsing this forum: No registered users and 2 guests

cron