Advertisement:

Author Topic: Notifying admin when a new member joins - STOPPED WORKING  (Read 921 times)

Offline Sir Osis of Liver

  • SMF Hero
  • ******
  • Posts: 9,626
Re: Notifying admin when a new member joins - STOPPED WORKING
« Reply #20 on: November 30, 2019, 06:50:40 PM »
Were there any other forum emails in spam folder?

Offline Roozbeh

  • Semi-Newbie
  • *
  • Posts: 19
Re: Notifying admin when a new member joins - STOPPED WORKING
« Reply #21 on: November 30, 2019, 06:54:07 PM »
No 🙂 Every time I miss any email, spam folder is the first place I check. no email came through during this issue.

Offline Sir Osis of Liver

  • SMF Hero
  • ******
  • Posts: 9,626
Re: Notifying admin when a new member joins - STOPPED WORKING
« Reply #22 on: November 30, 2019, 06:59:55 PM »
Well, that makes no sense.  But there's nothing wrong with your forum, so that's the good news.

Offline m4z

  • Localizer
  • Sr. Member
  • *
  • Posts: 817
  • /mɛs/
Re: Notifying admin when a new member joins - STOPPED WORKING
« Reply #23 on: November 30, 2019, 07:01:35 PM »
What's your hosting situation, do you have access to your server's mail logs, f.e. via cpanel?
"Faith is what you have in things that don't exist."
--Homer Simpson

Offline Roozbeh

  • Semi-Newbie
  • *
  • Posts: 19
Re: Notifying admin when a new member joins - STOPPED WORKING
« Reply #24 on: November 30, 2019, 07:05:57 PM »
Well, that makes no sense.  But there's nothing wrong with your forum, so that's the good news.

thanks a lot for your help.

Not expert on SMF source code but last couple of days I started reading the SMF code and realized there are special treatments for hotmail email address when it comes to sendmail() function. is it possible that the some of these emails might not be correctly recognized as hotmail and mistreated?

again thanks for your help.

Offline Roozbeh

  • Semi-Newbie
  • *
  • Posts: 19
Re: Notifying admin when a new member joins - STOPPED WORKING
« Reply #25 on: November 30, 2019, 07:10:09 PM »
What's your hosting situation, do you have access to your server's mail logs, f.e. via cpanel?

I'm using Godaddy. unfortunately don't know how to access it. still it does not make sense when testmail.php's email goes through but email from forum get stuck. it's does not seem to be server's problem as @Sir Osis of Liver mentioned.

Offline Illori

  • Project Manager
  • SMF Legend
  • *
  • Posts: 51,965
Re: Notifying admin when a new member joins - STOPPED WORKING
« Reply #26 on: November 30, 2019, 07:26:40 PM »
it is possible your email provider is killing off the email before it even gets to you. we have seen this before. you would need to slightly modify the email that SMF is sending and you will start to receive the emails.

Offline Roozbeh

  • Semi-Newbie
  • *
  • Posts: 19
Re: Notifying admin when a new member joins - STOPPED WORKING
« Reply #27 on: November 30, 2019, 07:35:09 PM »
it is possible your email provider is killing off the email before it even gets to you. we have seen this before. you would need to slightly modify the email that SMF is sending and you will start to receive the emails.

what do you mean by "slightly modify the email that SMF is sending"? do you mean I change the content of default email sent by SMF?

Offline Aleksi "Lex" Kilpinen

  • A Peculiar Finn
  • Lead Support Specialist
  • SMF Super Hero
  • *
  • Posts: 18,758
  • Gender: Male
  • Don't worry, I'm n00b friendly
    • Aleksi.Kilpinen on Facebook
    • LexArma on GitHub
    • aleksi-kilpinen on LinkedIn
    • There's No Place Like 127.0.0.1
Re: Notifying admin when a new member joins - STOPPED WORKING
« Reply #28 on: December 01, 2019, 01:09:26 AM »
Exactly, if the email is for some reason blocked due to contents, then changing the contents might work.
A Finnish Support Specialist
 Happily running multiple SMF 2.0 installations.
  Fooling around with an i7 990X @ 3,47Ghz / 12Gb / Win 10 x64 / 3840x2160


How you can help SMF

"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum.
 Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

Offline Sir Osis of Liver

  • SMF Hero
  • ******
  • Posts: 9,626
Re: Notifying admin when a new member joins - STOPPED WORKING
« Reply #29 on: December 01, 2019, 10:01:56 PM »
GoDaddy. :P

Offline Roozbeh

  • Semi-Newbie
  • *
  • Posts: 19
Re: Notifying admin when a new member joins - STOPPED WORKING
« Reply #30 on: December 02, 2019, 01:44:56 PM »
yes GoDaddy, however, with your help and GoDaddy's support page I managed to setup the SMTP format which fixed my initial issue of not receiving any email. now I can receive email but still when the new members login to the forum I won't be able to receive any notification. It seems like notifyadmin() function won't be able to access the list of admin email(s).

Offline Illori

  • Project Manager
  • SMF Legend
  • *
  • Posts: 51,965
Re: Notifying admin when a new member joins - STOPPED WORKING
« Reply #31 on: December 02, 2019, 01:52:50 PM »
I would suggest you to modify the email first and see if that helps. if not then we can look into other options.

Offline Roozbeh

  • Semi-Newbie
  • *
  • Posts: 19
Re: Notifying admin when a new member joins - STOPPED WORKING
« Reply #32 on: December 02, 2019, 02:06:08 PM »
good point, I'll do that and share the result. thanks!

Offline Roozbeh

  • Semi-Newbie
  • *
  • Posts: 19
Re: Notifying admin when a new member joins - STOPPED WORKING
« Reply #33 on: December 03, 2019, 11:34:36 AM »
I would suggest you to modify the email first and see if that helps. if not then we can look into other options.

hi Illori you were right the email content was the reason for blocking the notification emails. I'm not sure if it's the link to new member profile or the wording itself. I guess I need to figure it out by trial and error. thank you again for your help.

Offline m4z

  • Localizer
  • Sr. Member
  • *
  • Posts: 817
  • /mɛs/
Re: Notifying admin when a new member joins - STOPPED WORKING
« Reply #34 on: December 03, 2019, 11:37:04 AM »
Please share your findings (and mark the topic as solved in the bottom left when the mystery is solved)!
"Faith is what you have in things that don't exist."
--Homer Simpson

Offline Roozbeh

  • Semi-Newbie
  • *
  • Posts: 19
Re: Notifying admin when a new member joins - STOPPED WORKING
« Reply #35 on: December 03, 2019, 12:24:14 PM »
after several trial and error, it turns out that any email with 'A new member has joined' as subject is being blocked by my domain host (i.e. GoDaddy). so in order to temporarily fix the issue, I modified all the subjects to ''New member has joined' in the 'Themes\default\languages\EmailTemplates.english.php' file. Now Everything is back to normal and I'll be able to receive notification email when new member joins.

thank you everyone for your help.