 | [Solved] php sendmail error |  |
Posted: 04/06/2007 12:29 PM |
|
|
|
|
|
| Sparrow |
| Posts |
15 |
| Word Cnt. |
635 |
| BDay |
N/A |
| Sign |
N/A |
| Sex |
 |
|
|
|
Joined: Mar 26, 2007
Local time: 5:21 AM
Location: In ma room.
|

|
|
|
|
 |
people on my forums get this error when registering and posting.
| Code:
|
Failed sending email :: PHP ::
DEBUG MODE
Line : 241
File : emailer.php
|
and its bcuz i have a free host. i kno. but what i want to kno is how to make it so it doesnt show that. even if it means disabling email. and i saw a post on phpbb.com about graham's disable email mod. but the download link is broken, and the link on his site broken too. plz help. |
|
|
 |
 |
| Back to Top |
|
|
 | Re: php sendmail error |  |
Posted: 04/06/2007 12:44 PM |
|
|
|
|
|
| Site Admin |
| Posts |
30757 |
| Word Cnt. |
2,628,690 |
| BDay |
Jul 28 |
| Sign |
Leo |
| Sex |
 |
|
|
|
Joined: Sep 25, 2004
Local time: 6:21 AM
Location: St Pete, FL
|

|
|
|
|
 |
Ok, try this:
OPEN
includes/emailer.php
FIND
| Code:
|
|
message_die(GENERAL_ERROR, 'Failed sending email :: ' . (($this->use_smtp) ? 'SMTP' : 'PHP') . ' :: ' . $result, '', __LINE__, __FILE__);
|
REPLACE WITH
| Code:
|
|
//message_die(GENERAL_ERROR, 'Failed sending email :: ' . (($this->use_smtp) ? 'SMTP' : 'PHP') . ' :: ' . $result, '', __LINE__, __FILE__);
|
Be sure to make a good backup of the file before you overwrite it just in case. Also make sure you are modifying the most current copy of the file from your phpBB includes folder...
 |
|
|
 |
 |
| Back to Top |
|
|
 | Re: [Solved] php sendmail error |  |
Posted: 04/06/2007 1:24 PM |
|
|
|
|
|
| Citation |
| Posts |
407 |
| Word Cnt. |
10,993 |
| BDay |
May 28 |
| Sign |
Gemini |
| Sex |
 |
|
|
|
Joined: Feb 25, 2007
Local time: 10:21 AM
Location: SE England
|

|
|
|
|
 |
Another reason could be the host. But NRs' suggestion is most likely a fix
- Poomie |
|
|
 |
 |
| Back to Top |
|
|
 | Re: [Solved] php sendmail error |  |
Posted: 04/06/2007 1:31 PM |
|
|
|
|
|
| Sparrow |
| Posts |
15 |
| Word Cnt. |
635 |
| BDay |
N/A |
| Sign |
N/A |
| Sex |
 |
|
|
|
Joined: Mar 26, 2007
Local time: 5:21 AM
Location: In ma room.
|

|
|
|
|
 |
ok thx. i edited it and it looks like its working. yay!!  |
|
|
 |
 |
| Back to Top |
|
|
 | Re: [Solved] php sendmail error |  |
Posted: 04/06/2007 1:38 PM |
|
|
|
|
|
| Site Admin |
| Posts |
30757 |
| Word Cnt. |
2,628,690 |
| BDay |
Jul 28 |
| Sign |
Leo |
| Sex |
 |
|
|
|
Joined: Sep 25, 2004
Local time: 6:21 AM
Location: St Pete, FL
|

|
|
|
|
 |
| Poomerio wrote:
|
Another reason could be the host. But NRs' suggestion is most likely a fix
|
I think I would call it more of a workaround. It can't force the email to work but it bypasses the reporting of the error message when it fails...
 |
|
|
 |
 |
| Back to Top |
|
|
 | Re: [Solved] php sendmail error |  |
Posted: 04/06/2007 2:07 PM |
|
|
|
|
|
| Citation |
| Posts |
407 |
| Word Cnt. |
10,993 |
| BDay |
May 28 |
| Sign |
Gemini |
| Sex |
 |
|
|
|
Joined: Feb 25, 2007
Local time: 10:21 AM
Location: SE England
|

|
|
|
|
 |
| Nightrider wrote:
|
| Poomerio wrote:
|
Another reason could be the host. But NRs' suggestion is most likely a fix
|
I think I would call it more of a workaround. It can't force the email to work but it bypasses the reporting of the error message when it fails...
|
Very true.
I guess workaround was the word I was looking for.
Well, congrats on getting the errors to stop.
- Poomie |
|
|
 |
 |
| Back to Top |
|
|
 | Information |  |
|