Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Topic started by: lather on January 03, 2018, 10:21:36 AM

Title: Activations Email Not Sending??
Post by: lather on January 03, 2018, 10:21:36 AM
I am have this and another email problem also. New users report that they do not get a notification when their registration is approved. Also I, as admin, do not get an email  notification when a registration is pending approval. I  recently (about 3 months ago) configured registration to require admin approval. We have had about 20 new registrations since  and I have never gotten an approval pending email.

Email IS working as I do get notifications when a post is made on a thread I am following and when I get a PM. I do not see any email related errors in the error log. In settings I have checked notify admins and send welcome email to new members.

Thanks
Title: Re: Activations Email Not Sending??
Post by: Aleksi "Lex" Kilpinen on January 04, 2018, 03:41:02 AM
If you are sure that the mail functions are otherwise working, then please check the setting in
Admin -> Members -> Registration -> Settings -> Notify administrators when a new member joins
Is it enabled?

I would also suggest you try the user side of it for yourself to see if it works, there may be many different explanations for the messages getting lost - such as spam filters, "classified folders" and so on depending on the mail provider of the user.
Title: Re: Activations Email Not Sending??
Post by: SaltedWeb on January 04, 2018, 06:30:47 PM
Oddly enough out of the blue I found out members are not getting emails when joining or approved,
However unlike the OP here I do get a notices of a new member joining.
Title: Re: Activations Email Not Sending??
Post by: Aleksi "Lex" Kilpinen on January 05, 2018, 01:19:50 AM
Quote from: SaltedWeb on January 04, 2018, 06:30:47 PM
Oddly enough out of the blue I found out members are not getting emails when joining or approved,
However unlike the OP here I do get a notices of a new member joining.

You would be best opening a topic of your own, even if the problem seems similar.
Title: Re: Activations Email Not Sending??
Post by: SaltedWeb on January 05, 2018, 01:43:40 AM
I did elsewhere........ but I think  Gmail was having issues as after awhile it was resolved.
Thought might be worth mentioning
Title: Re: Activations Email Not Sending??
Post by: lather on January 05, 2018, 10:13:10 AM
Quote from: Aleksi "Lex" Kilpinen on January 04, 2018, 03:41:02 AM
If you are sure that the mail functions are otherwise working, then please check the setting in
Admin -> Members -> Registration -> Settings -> Notify administrators when a new member joins
Is it enabled?

I would also suggest you try the user side of it for yourself to see if it works, there may be many different explanations for the messages getting lost - such as spam filters, "classified folders" and so on depending on the mail provider of the user.

Other mail functions are working,
I have received 2 notifcations of A reply has been posted to a topic you
are watching in the last 24 hours.

I checked Registration settings:
Method of registration employed for new members = Admin approval
Boxes are checked to Notify administrators when a new member joins
and Send welcome email to new members

As a test I registered as a new user yesterday and waited 12 hours
no new member notification to my admin account.

I  approved the test user this morning with send email.
So far two hours later the new user has not received his welcome notice.
Spam filter checked and nothing there. Will go into cPanel and try mail tracking app.
Title: Re: Activations Email Not Sending?? UPDATE
Post by: lather on January 07, 2018, 11:44:52 AM
I am in fact receining notices of new members but  the email is not forwarding. I have a webmaster@ account on our domain for admin puropses but I seldom access it directly as I have email forwarded to my personal email account. For some reason the new member notices will not forward. 
Title: Re: Activations Email Not Sending??
Post by: Aleksi "Lex" Kilpinen on January 07, 2018, 12:04:02 PM
Are you sure they are not just caught by a spam filter or similar on your other account? That would be my best guess.
Title: Re: Activations Email Not Sending??
Post by: lather on January 08, 2018, 10:36:28 AM
Quote from: Aleksi "Lex" Kilpinen on January 07, 2018, 12:04:02 PM
Are you sure they are not just caught by a spam filter or similar on your other account? That would be my best guess.
I have just finished checking all possible spam filters/traps and nothing there.
Title: Re: Activations Email Not Sending??
Post by: aegersz on January 08, 2018, 11:30:09 AM
did it ever work and if so, what other changes have you made to SMF ?

your host should be able to extract your email activity from their logs but that may be awkward yet might be worth trying for as you could see if the emails are getting to their mail server.

i had an issue with a mod that stopped activation emails (can't remember it though) - what version SMF and what mods do you have ?

if you can go back to automatic approval i wonder if it starts working ?
Title: Re: Activations Email Not Sending??
Post by: lather on January 09, 2018, 01:12:10 PM
Thanks for the reply.
We did not have  registration set to admin approval until the last 6 months, it has never worked in that time. I have changed the notification to go directly to my personal address instead of being forwarded from webmaster and will see what happens.
Title: Re: Activations Email Not Sending??
Post by: Aleksi "Lex" Kilpinen on January 10, 2018, 01:18:56 AM
Let us know if that has any effect. If not, I'd be curious to know what e-mail provider you are using?
Title: Re: Activations Email Not Sending??
Post by: aegersz on January 10, 2018, 04:30:40 AM
... and what are your email settings ?
Title: Re: Activations Email Not Sending??
Post by: lather on January 10, 2018, 09:34:40 AM
Thanjs for the replies.
Two new members registered. The activation notice was delivered to the old address and not forwarded.
Cganing the webmster email address seems to have no effect.
These are the only installed mods
Google Member Map   3.0.4   
SMF 2.0.15 Update      1.0   
Ad Managment      3.2   
Downloads System      3.0.1   
Contact Page      3.2
Admin Notepad      2.0.2   
Tapatalk SMF 2.0 Plugin   4.1.1
Stop Forum Spam      1.0

What email setting do you mean?

tracing system messages to webmaster and my personal email both show [email protected] in the from column and no failures in the last 30 days.
address tracing does show the forwarding.
I should add that both mail servers involved are godaddy servers. I am going to chnage the forwarding to a non-godaddy acount.



Title: Re: Activations Email Not Sending??
Post by: aegersz on January 10, 2018, 09:41:25 AM
i meant the Admin > Maintenance > Mail settings.

i assume that you are using SMTP though so don't worry if so.

yes, trying another relay sounds like a good move - email usually works or it doesn't but you have a bit of both.

you could try gmail maybe.
Title: Re: Activations Email Not Sending??
Post by: Aleksi "Lex" Kilpinen on January 11, 2018, 05:41:54 AM
Quote from: aegersz on January 10, 2018, 09:41:25 AM
you could try gmail maybe.
Nope. Better try with anything else - Gmail is a source for problems for most users.
Title: Re: Activations Email Not Sending??
Post by: aegersz on January 11, 2018, 05:59:56 AM
yeah i know but i have had nothing but success so i included that as an option despite writing a small mod to fix the SSL support and then configue gmail to accept it.

but you are right - there are plenty of ready-to-go options that i never attempted.
Title: Re: Activations Email Not Sending??
Post by: lather on January 11, 2018, 08:58:32 AM
Quote from: aegersz on January 10, 2018, 09:41:25 AM
i meant the Admin > Maintenance > Mail settings.

i assume that you are using SMTP though so don't worry if so.

yes, trying another relay sounds like a good move - email usually works or it doesn't but you have a bit of both.

you could try gmail maybe.

Actually it is set to php.  I am going to try my hughes.net account and see what happens.

Thanks again for your replies.
Title: Re: Activations Email Not Sending??
Post by: Aleksi "Lex" Kilpinen on January 14, 2018, 04:47:57 AM
Quote from: lather on January 10, 2018, 09:34:40 AM
Two new members registered. The activation notice was delivered to the old address and not forwarded.
This would suggest the problem is somewhere in between those 2 addresses you use, and SMF is working correctly there.
Title: Re: Activations Email Not Sending??
Post by: Illori on January 14, 2018, 06:00:03 AM
they should be sent to the email address in your profile, is this email address correct?
Title: Re: Activations Email Not Sending??
Post by: lather on January 14, 2018, 12:47:25 PM
I agree SMF is working correctly notifications are going to new registrants and admin notice goes to webmaster@domain. Every other email sent to webmaster@domain gets promptly forwarded to my main personal email account, @hughes.net, my IP

For some reason the new member notice to webmaster does not get forwarded. Using the cPanel email tracing app it shows the forwarding is in effect and all mesages to webmaster were accepted, whatever that means. I will call support at Godaddy and see if they can help.

To further complicate things my email address in my profile is different from all of the above, not sure what effect that can have.
In Admin>Config>server settings>general  there is an item for webmaster email address. I am not clear what this is for as changing it does not seem to make a difference.
Title: Re: Activations Email Not Sending??
Post by: Aleksi "Lex" Kilpinen on January 14, 2018, 12:59:04 PM
Quote from: lather on January 14, 2018, 12:47:25 PM
For some reason the new member notice to webmaster does not get forwarded. Using the cPanel email tracing app it shows the forwarding is in effect and all mesages to webmaster were accepted, whatever that means. I will call support at Godaddy and see if they can help.
Good luck, GoDaddy is not really known for their outstanding support.

Quote from: lather on January 14, 2018, 12:47:25 PM
To further complicate things my email address in my profile is different from all of the above, not sure what effect that can have.
In Admin>Config>server settings>general  there is an item for webmaster email address. I am not clear what this is for as changing it does not seem to make a difference.
The Webmaster -email is the "From" address to be used in emails sent by the forum.
The email in your profile is the address where SMF will send you notifications based on your usergroup. ( Like new members, moderation reports etc. )
Title: Re: Activations Email Not Sending??
Post by: lather on January 14, 2018, 03:36:04 PM
Thanks for the info.
Title: Re: Activations Email Not Sending??
Post by: Aleksi "Lex" Kilpinen on January 16, 2018, 10:40:20 AM
No problem. Do let us know if there is anything we can still help you with relating to this issue. :)
Title: Re: Activations Email Not Sending??
Post by: lather on January 17, 2018, 12:12:17 PM
Some more details on this baffling issue which might provides a clue. Our forum has the users with administor priviledges The previous user who passed the adminrole to me  a year and a half ago, he agreed to remain as backup. My user name has always been NinjaBob and that user has admin priviledges.  The two of us have always used our personal email addreses. There is also a user named MSTAAdmin whose was the original admin whose email address was webmaster@ourdomain. I am aslo the "webmaster" for our website which hosts the SMF forum as well as server admin. As such the webmaster address is forwarded to my personal address.


When I realized that the new member notifications were being delivered to webmaster I decided to change MSTAAmin's email address to my personal address as a test. I then logged out of the forum and register a test user. The welcome message was delivered to the test user's email but nothing was delivered to any admin.

So I use the server panel mail tracking app to track delivery of the notification and its ay this

Event:   success success
User:   ridemsta1
Domain:   ridemsta.com
From Address:   [email protected]
Sender:   ridemsta1
Sent Time:   Jan 17, 2018 8:55:08 AM
Sender Host:   localhost
Sender IP:   127.0.0.1
Authentication:   localuser
Spam Score:   
Recipient:   chappuis@XXXXXXXX
Delivery User:   -remote-
Delivery Domain:   
Delivered To:   chappuis@XXXXXXXX
Router:   send_to_smart_host
Transport:   remote_smtp
Out Time:   Jan 17, 2018 8:55:08 AM
ID:   1ebp7v-000058-4H
Delivery Host:   dedrelay.secureserver.net
Delivery IP:   208.109.80.54
Size:   1.68 KB
Result:   Accepted

(I have xed out may email address to avoid spam.)

If you have gotten this far thank you very much for reading. It seems clear that the notification is being sent by SMF and the forum host but for some reason hughes net won't let me see it, despite I have turned of the spam filter.
This is a mail problem not an SMF problem but if anyone has any thoughts to offer I would appreciate it very much.

Title: Re: Activations Email Not Sending??
Post by: Aleksi "Lex" Kilpinen on January 17, 2018, 12:27:14 PM
I must say I'm running out of good ideas to try, it can be that the Hughes net side is for some reason completely blocking the messages.