Page 1 of 2

pm email error

PostPosted: Wed Apr 27, 2011 5:17 am
Author: krillmeed
Just noticed that i have not been getting any emails about pm ´s. The pm ´s have been sent to my inbox, when i try to reply to them, it says" Failed sending email :: PHP ::
"; i have checked in my site error logs and this is what it says:

Code: Select all
ALERT - mail() - double newline in headers, possible injection, mail dropped (attacker '90.153.69.130', file '/hsphere/local/home/krillmeed/krillmeed.com/forum/includes/emailer.php', line 212)


no idea how long this problem has been going on :D

Re: pm email error

PostPosted: Wed Apr 27, 2011 5:12 pm
Author: Helter
your server may have php mail disabled to prevent spamming. Have you tried to use SMTP?

Re: pm email error

PostPosted: Sat Apr 30, 2011 12:54 am
Author: krillmeed
How come topic replies and digest messages are still sent to me? Do they both run on the same system as the pm emails? No idea why i did not get a email for your reply either <img>

Re: pm email error

PostPosted: Sat Apr 30, 2011 7:42 am
Author: Helter
If other functions are sending mai the prob may be in the language file.. ill look at it tonight after work

[ Post made via Mobile Device ]

Re: pm email error

PostPosted: Sun May 01, 2011 12:55 am
Author: krillmeed
Thank you sir, i suspect the server has changed something for this to start happening <img>

Re: pm email error

PostPosted: Sun May 01, 2011 6:31 pm
Author: Helter
I have not been able to recreate the error or find anything that would cause this.

have you looked at this?
http://www.integramod.com/html/mail.html

Re: pm email error

PostPosted: Mon May 02, 2011 8:49 am
Author: krillmeed
I did find this: http://www.phpbb.com/community/viewtopi ... 8&t=312642 but could not get it to work unless integramod is slightly different. If you could take a look <img>

Re: pm email error

PostPosted: Mon May 02, 2011 1:31 pm
Author: Helter
I think that since your site is sending email through other mods, the problem has to be in the forum and not in emailer.php. Im still looking for it.

on a totally unrelated note, i just visited your site and noticed a few template errors. Ill attach an updated lcars.css.

OPEN lcars/overall_footer.tpl

FIND
Code: Select all
<table>
  <tr>
   <td>
   <img>
   </td>
   <td>
   <a><img></a><span>{INTEGRAMOD_VERSION} </span><img></td>
   <td>
   <img>
   </td>           
  </tr>
</table>
<table>
  <tr>
   <td>
   <img>
   </td>
   <td>
   <a><img></a><span>{PHPBB_VERSION} </span><img></td>
   <td>
   <img>
   </td>           
  </tr>
</table>


REPLACE WITH
Code: Select all
<table>
  <tr>
   <td>
   <img>
   </td>
   <td>
   <a><img></a><span>{INTEGRAMOD_VERSION} </span><img></td>
   <td>
   <img>
   </td>           
  </tr>
</table>
<table>
  <tr>
   <td>
   <img>
   </td>
   <td>
   <a><img></a><span>{PHPBB_VERSION} </span><img></td>
   <td>
   <img>
   </td>           
  </tr>
</table>

Re: pm email error

PostPosted: Mon May 02, 2011 3:12 pm
Author: Helter
I think I may have found the answer to your problem.
rename includes/emailer.php to something like emailer_.php and upload this one and let me know if this solves your issue without creating any new ones.

I think this is a conflict between phpBB2.x and suhosin with the sendmail option

Re: pm email error

PostPosted: Mon May 02, 2011 9:57 pm
Author: krillmeed
That was a quick answer, will do this when i get back from work. Thanks for the css correction as well <img>

Re: pm email error

PostPosted: Tue May 03, 2011 7:03 am
Author: krillmeed
Sorry to say its still showing the exact same error :?

Re: pm email error

PostPosted: Tue May 03, 2011 10:00 am
Author: Helter
the original may be cached. Try emptying your cache folder of all but index.html and .htaccess

Re: pm email error

PostPosted: Tue May 03, 2011 11:24 am
Author: krillmeed
Still the same, though the cache folder had over 4000 files in it, they seemed to be tpl files only and the index.html. Checked on my scifi forum as well, though its not used much and no mods have been added, that one says:

Code: Select all
Failed sending email :: PHP ::

DEBUG MODE

Line : 234
File : emailer.php

Re: pm email error

PostPosted: Tue May 03, 2011 11:23 pm
Author: Helter
edit the email address in this file. upload it to your server and browse to it. If emailer.php is working, you will get an email

Re: pm email error

PostPosted: Wed May 04, 2011 10:10 am
Author: krillmeed
Did as you said and got a nice test email from: <a>krillmeed@web419.opentransfer.com</a> :?