Log in Register FAQ Memberlist Search Welcome to RCF - WHF Forum Index
alt : test.swf
Welcome to RCF - WHF
4fx3.gif 
calendar_open_closeCalendar 
[Solved] php sendmail error
Post new topic   Reply to topic View previous topic :: View next topic
Welcome to RCF - WHF Forum Index -> Area 51 - phpBB & Easymod Tech Support Add To Bookmarks
[Solved] php sendmail error
PostPosted: 04/06/2007 12:29 PM Reply with quote
Sparrow
atomic
Sparrow
Posts 15
Word Cnt. 635
BDay N/A
Sign N/A
Sex Sex:Male
Joined: Mar 26, 2007
Local time: 5:21 AM
Location: In ma room.
usaCa.gif
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. Very Happy plz help.
Back to Top
View user's profile Find all posts by atomic Send private message   MSN Messenger
Re: php sendmail error
PostPosted: 04/06/2007 12:44 PM Reply with quote
Site Admin
Nightrider
Site Admin
Posts 30757
Word Cnt. 2,628,690
BDay Jul 28
Sign Leo
Sex Sex:Male
Joined: Sep 25, 2004
Local time: 6:21 AM
Location: St Pete, FL
peace.gif
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...

headbang
Back to Top
View all pictures posted by this userView user's profile Find all posts by Nightrider Send private message   AIM Address Yahoo Messenger Phoogle Map ICQ Number
Re: [Solved] php sendmail error
PostPosted: 04/06/2007 1:24 PM Reply with quote
Citation
poomerio
Citation
Posts 407
Word Cnt. 10,993
BDay May 28
Sign Gemini
Sex Sex:Male
Joined: Feb 25, 2007
Local time: 10:21 AM
Location: SE England
greatbrE.gif
Another reason could be the host. But NRs' suggestion is most likely a fix Smile

- Poomie
Back to Top
View user's profile Find all posts by poomerio Send private message   Phoogle Map
Re: [Solved] php sendmail error
PostPosted: 04/06/2007 1:31 PM Reply with quote
Sparrow
atomic
Sparrow
Posts 15
Word Cnt. 635
BDay N/A
Sign N/A
Sex Sex:Male
Joined: Mar 26, 2007
Local time: 5:21 AM
Location: In ma room.
usaCa.gif
ok thx. i edited it and it looks like its working. yay!!  banana
Back to Top
View user's profile Find all posts by atomic Send private message   MSN Messenger
Re: [Solved] php sendmail error
PostPosted: 04/06/2007 1:38 PM Reply with quote
Site Admin
Nightrider
Site Admin
Posts 30757
Word Cnt. 2,628,690
BDay Jul 28
Sign Leo
Sex Sex:Male
Joined: Sep 25, 2004
Local time: 6:21 AM
Location: St Pete, FL
peace.gif
Poomerio wrote:
Another reason could be the host. But NRs' suggestion is most likely a fix Smile

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...

Rolling Eyes
Back to Top
View all pictures posted by this userView user's profile Find all posts by Nightrider Send private message   AIM Address Yahoo Messenger Phoogle Map ICQ Number
Re: [Solved] php sendmail error
PostPosted: 04/06/2007 2:07 PM Reply with quote
Citation
poomerio
Citation
Posts 407
Word Cnt. 10,993
BDay May 28
Sign Gemini
Sex Sex:Male
Joined: Feb 25, 2007
Local time: 10:21 AM
Location: SE England
greatbrE.gif
Nightrider wrote:
Poomerio wrote:
Another reason could be the host. But NRs' suggestion is most likely a fix Smile

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...

Rolling Eyes


Very true.
I guess workaround was the word I was looking for.
Well, congrats on getting the errors to stop.

Brick wall

- Poomie
Back to Top
View user's profile Find all posts by poomerio Send private message   Phoogle Map
 Post new topic  Reply to topic
Information
Welcome to RCF - WHF Forum Index -> Area 51 - phpBB & Easymod Tech Support

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum
All times are GMT - 5 Hours

Page 1 of 1


Add To Bookmarks

 
  
  


  Google

Powered by phpBB © 2001, 2005 phpBB Group

Page generation time: 0.0974s (PHP: 53% - SQL: 47%) - SQL queries: 45 - GZIP disabled - Debug on