Email notification doesn't work anymore

Get help with installation and running phpBB 3.2.x here. Please do not post bug reports, feature requests, or extension related questions here.
Post Reply
MobyJet
Registered User
Posts: 4
Joined: Sun Dec 10, 2017 6:43 pm

Email notification doesn't work anymore

Post by MobyJet » Sun Dec 10, 2017 7:00 pm

Hi,

I have a phpBB forum from the year 2010. All was working fine, great forum!
Since the beginning of november the email notification stopted working. I didn't change anything on the settings.

What don't work anymore, that worked fine till a few weeks ago:
* email notifications when someone get a personal message
* email to new users to activate their account
* email notification on following topics
So, all emails are blocked by something I can't figure out.

Yesterday I updated the forum from 3.0 to 3.2, hoping this will fix the problem (and other improvements). Unfortunately, it didn't work. As I expected, but I was hoping ;)
I like the update very much!

What I tried last weeks (before the update):
* check all email settings in de panel
* email package to 0
* set SMTP settings, but it seems my provider don't support this (till I pay extra ;)). I get error message in the panel when I'm trying to use these settings. When it was still working, I set SMTP to NO. I tried both after the update.
* update php version of my hosting
* sending a test email to the administrator (me), it works fine. I'm the only person who gets emails from the forum.

I found some more possible solutions, like this:
https://www.phpbb.com/customise/db/mod/ ... ch/faq/741

I already tried 1 and 2.

Where can I use solution 3? I know the SQL language, but I don't know how to use it on phpBB.

Do you have other ideas for my problem? Or things I can check?
I use the Dutch forum (Nederlands).

TIA!

janus_zonstraal
Registered User
Posts: 2610
Joined: Sat Aug 30, 2014 1:30 pm

Re: Email notification doesn't work anymore

Post by janus_zonstraal » Sun Dec 10, 2017 7:27 pm

Since the beginning of november the email notification stopted working. I didn't change anything on the settings.
Did you ask your host if the change something?
set SMTP settings, but it seems my provider don't support this (till I pay extra ;)).
Time for a new host ;)
ending a test email to the administrator (me), it works fine. I'm the only person who gets emails from the forum.
Did you make a test user and test yourself if you get a mail (check the spamfolders from your mail.)

Did you check if your domain name/IP address is blacklisted?
http://www.blacklistalert.org/
Sorry! My English is bat ;) !!!

MobyJet
Registered User
Posts: 4
Joined: Sun Dec 10, 2017 6:43 pm

Re: Email notification doesn't work anymore

Post by MobyJet » Mon Dec 11, 2017 9:34 am

Hi

Thank you for your answers!

Yes, I made an other account and did the test. I didn't get the email on my other account, neither in spam.

I called my provider and they said there where some changes about return emailadres settings because of security/spam issues.
Glad I found the cause of the problem!

They said I have to set up a return adres, something with "-f". But where I can do this?
There is (and already was) a return adres in the panel (my own).

See attachment for de page they send me to for help.
Where can I put that code?
Attachments
return.PNG

User avatar
thecoalman
Community Team Member
Community Team Member
Posts: 2796
Joined: Wed Dec 22, 2004 3:52 am
Location: Pennsylvania, U.S.A.
Contact:

Re: Email notification doesn't work anymore

Post by thecoalman » Tue Dec 12, 2017 9:38 am

the only way to fix this is by editing the code, you will need to make sure your edit sticks through upgrades unless they fix it in core.

On line 1842 of /includes/functions_messenger.php find:

Code: Select all

$result = $config['email_function_name']($to, mail_encode($subject, ''), wordwrap(utf8_wordwrap($msg), 997, "\n", true), $headers);
Replace with:

Code: Select all

$result = $config['email_function_name']($to, mail_encode($subject, ''), wordwrap(utf8_wordwrap($msg), 997, "\n", true), $headers, "-f" . $config['board_email']);

MobyJet
Registered User
Posts: 4
Joined: Sun Dec 10, 2017 6:43 pm

Re: Email notification doesn't work anymore

Post by MobyJet » Tue Dec 12, 2017 10:56 am

Thank you very much!

Can I download the file (I use FileZilla), edit it in notepad and place it back? Or isn't it that simple and do I have to do it a different way?

User avatar
RMcGirr83
Recognised Extension Developer
Posts: 20889
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr
Contact:

Re: Email notification doesn't work anymore

Post by RMcGirr83 » Tue Dec 12, 2017 11:03 am

Download the file via FTP and edit it using notepad++...not windows notepad. Save and upload into the same place you downloaded it from.
In times of change, learners inherit the earth, while the learned find themselves beautifully equipped to deal with a world that no longer exists - Eric Hoffer
Former Modifications/Extensions Team Member | My extensions
Appreciate the extensions/mods/support then buy me a beer
All requests for support via PM will be ignored

MobyJet
Registered User
Posts: 4
Joined: Sun Dec 10, 2017 6:43 pm

Re: Email notification doesn't work anymore

Post by MobyJet » Tue Dec 12, 2017 4:10 pm

Thank you all very very very very very much!!

It works again! 8-) 8-)

Post Reply

Return to “[3.2.x] Support Forum”

Who is online

Users browsing this forum: stevemaury, texasbushcraft and 34 guests