ElkArte Community

Extending Elk => Addons => Addons ideas and questions => Topic started by: Jorin on December 12, 2015, 05:17:39 am

Title: 1.0.5 Board e-mails not coming
Post by: Jorin on December 12, 2015, 05:17:39 am
We don't get any messages (e-mails) anymore when new members have registered. Can anyone check this please?
Title: Re: 1.0.5 Board e-mails not coming
Post by: Spuds on December 12, 2015, 08:17:07 am
Did "Notify administrators when a new member joins" get unchecked?  Be sure to check spam filters and bounced email logs on the server.  Are you using the mail queue?
Title: Re: 1.0.5 Board e-mails not coming
Post by: radu81 on December 12, 2015, 11:02:26 am
How do you send mails? Phpmail or SMTP? Probably they are marked as spam, you can check your email " spam test"  here https://www.mail-tester.com
Title: Re: 1.0.5 Board e-mails not coming
Post by: Jorin on December 15, 2015, 01:04:55 am
Quote from: Spuds – Did "Notify administrators when a new member joins" get unchecked?  Be sure to check spam filters and bounced email logs on the server.  Are you using the mail queue?

It's checked. The Mails are not in my spam folder. I am using not the mail queue and php standard for sending mails. All was okay a few weeks before. Now we are not getting any notifications at all. Could it be a problem with the update to 1.0.5?

I will ask my members if they get any email notifications at all.
Title: Re: 1.0.5 Board e-mails not coming
Post by: emanuele on December 15, 2015, 02:11:07 am
I depends when exactly stopped working.
If it stopped the moment you installed 1.0.5 then it may be, there were changes to the "new members joining" emailing, but it works fine here (provided this is really the latest code and I didn't forget to push something to the repo before releasing... okay, lots of assumptions on my side here... :-\
Title: Re: 1.0.5 Board e-mails not coming
Post by: Jorin on December 15, 2015, 02:24:18 am
It seems board notifications are coming through, but I don't get an email when a new member registered any more. Do you get these emails here?

I logged in at the hoster email login (webmail) to be sure there are no emails marked as spam. On the server of my hoster there are no emails waiting or marked as spam, my Google account found no waiting emails either (I am using Pop3 to get them into my Google Inbox). They are nowhere.
Title: Re: 1.0.5 Board e-mails not coming
Post by: radu81 on December 15, 2015, 09:04:16 am
For me is working, I use 1.0.5 version and I get mail when a member register to my forum.
Title: Re: 1.0.5 Board e-mails not coming
Post by: Jorin on December 15, 2015, 09:07:55 am
Hm, I have to try again tomorrow...
Title: Re: 1.0.5 Board e-mails not coming
Post by: Jorin on December 16, 2015, 02:32:19 am
I tried to register another test account on my board. After getting the email with activation link, I get this error message when I click on the activation link:

QuoteWrong value type sent to the database. Array of integers expected. (member_ids)

The account seems to be activated anyhow, but is not shown in info center as latest member.  :o

I used the same email address for this new user as is set in the server settings as board email. Can this be the problem?

Help is needed!

Edit: After looking at my error log it seems all new members get the error message shown above. The latest one is from November 16th. The errors are marked as critical.

QuoteWrong value type sent to the database. Array of integers expected. (member_ids)
Function: membersBy
Datei: /www/htdocs/w00f21f1/hp_elkarte/sources/subs/Members.subs.php
Zeile: 1516

There still is no email coming through. Must be, as I registered the test user today. But there isn't.
Title: Re: 1.0.5 Board e-mails not coming
Post by: emanuele on December 16, 2015, 08:18:48 am
hmm... I can't see that function used in the registration process, do you have any addon installed?
Title: Re: 1.0.5 Board e-mails not coming
Post by: Jorin on December 16, 2015, 08:24:21 am
Sure.

AEVA BBCode replacement 0.0.1
AmazonAffiliate4ElkArte 1.0
Google Member Map 1.0
Home Page 0.0.1
Message to New Members 0.0.1
Recent Topics 0.0.3
Topic Author 1.0
Title: Re: 1.0.5 Board e-mails not coming
Post by: Jorin on December 16, 2015, 09:01:21 am
Board notifications are coming through, I get one. So it seems only registration emails are making problems. And the error message posted above.
Title: Re: 1.0.5 Board e-mails not coming
Post by: emanuele on December 16, 2015, 12:44:04 pm
If Message to New Members is the one I coded, it should be version 0.0.2 from:
http://www.elkarte.net/community/index.php?topic=2626.msg17871#msg17871
can you check that?
Title: Re: 1.0.5 Board e-mails not coming
Post by: Jorin on December 17, 2015, 01:13:59 am
Okay. Simply upload and overwrite?
Title: Re: 1.0.5 Board e-mails not coming
Post by: emanuele on December 17, 2015, 02:03:44 am
Uninstall and install the new version, better. ;)
Title: Re: 1.0.5 Board e-mails not coming
Post by: Jorin on December 17, 2015, 02:14:13 am
Okay, I will try.  ;)
Title: Re: 1.0.5 Board e-mails not coming
Post by: emanuele on January 04, 2016, 02:31:56 am
@Jorin did you have a chance to verify if the new version of the addon works?
Title: Re: 1.0.5 Board e-mails not coming
Post by: Jorin on January 04, 2016, 02:35:10 am
Must re-install it first. Thanks for remembering, now I need time.  ;)
Title: Re: 1.0.5 Board e-mails not coming
Post by: Jorin on January 12, 2016, 06:28:35 am
Installed the new version now. I registered a test user then. When he clicks on the activation link he gets the following error message:

QuoteWrong value type sent to the database. Array of integers expected. (member_ids)

It seems the account is already registered then, when I try the second activation link with the code number. Board says then: You're account is already activated.  :o

Back to topic: No message for new registered account coming through.  :(  Should I try what happens when the addon is deinstalled?
Title: Re: 1.0.5 Board e-mails not coming
Post by: Jorin on January 12, 2016, 06:36:34 am
I tested...

With deinstalled addon the error message posted above is gone! And there's the e-mail for a new registered member! Hurray!

Seems this is a problem of the addon.  ::)  ;)
Title: Re: 1.0.5 Board e-mails not coming
Post by: emanuele on January 13, 2016, 03:11:53 am
meh...
I'll keep this unread and check what the matter is, I thought I fixed it a while ago... :-\
Title: Re: 1.0.5 Board e-mails not coming
Post by: Jorin on January 13, 2016, 03:21:33 am
Thanks!  :)
Title: Re: 1.0.5 Board e-mails not coming
Post by: Jorin on January 26, 2016, 05:43:42 am
Quote from: emanuele – meh...
I'll keep this unread and check what the matter is, I thought I fixed it a while ago... :-\

Any news on this?  :-[
Title: Re: 1.0.5 Board e-mails not coming
Post by: Jorin on February 28, 2016, 07:50:03 am
Still nothing new?  :(
Title: Re: 1.0.5 Board e-mails not coming
Post by: emanuele on February 28, 2016, 08:47:28 am
I just tested the version I suggested a while ago, the one attached here (http://www.elkarte.net/community/index.php?topic=2626.msg17871#msg17871), and it works fine: the registration email arrives, the PM is sent.
Just to stay on the safe side, delete the package (from the admin page) and download/upload it again.
Title: Re: 1.0.5 Board e-mails not coming
Post by: Jorin on February 29, 2016, 01:23:39 am
Okay, I will test it again.
Title: Re: 1.0.5 Board e-mails not coming
Post by: Jorin on March 01, 2016, 02:21:57 am
Okay, I uininstalled the version 0.0.2 I already had installed. Then I installed it again (the version from your link). When a new member gets the activation email and follows the activation link, the following error accurs:

QuoteWrong value type sent to the database. Array of integers expected. (member_ids)

He can login anyway, but he didn't get the welcome message. He isn't shown as latest member too. And I didn't get an email that a new user has registered.  :(
Title: Re: 1.0.5 Board e-mails not coming
Post by: emanuele on March 01, 2016, 02:56:21 am
/me blames emanuele for not having notices the test site was still using 1.0.4...

Okay, I get the error as well, I'll debug the issue better.

Bug found: https://github.com/elkarte/Elkarte/issues/2401

Please, use the attached file as a temporary measure until 1.0.7 is released, then any version will do.
Title: Re: 1.0.5 Board e-mails not coming
Post by: Jorin on July 22, 2016, 06:30:16 am
Sorry... Lost track of this... As we are using 1.0.7 now, can I use the addon "message to new members" now without errors? That's what you meant?

Edit: Nope, still the problem with this error message when the new users clicks on the activation link in his e-mail:

QuoteWrong value type sent to the database. Array of integers expected. (member_ids)

I installed this package:
http://www.elkarte.net/community/index.php?topic=2626.msg17871#msg17871

:(

Should I try your file posted above?
Title: Re: 1.0.5 Board e-mails not coming
Post by: emanuele on July 27, 2016, 07:51:38 am
That's odd... I'll have a look again soonish...
Title: Re: 1.0.5 Board e-mails not coming
Post by: Jorin on August 26, 2016, 01:08:56 am
I know you have a lot to do. Is there any chance you can help within the next weeks? If not, I must think of something different to inform new members of important things.
Title: Re: 1.0.5 Board e-mails not coming
Post by: emanuele on August 26, 2016, 11:02:12 am
Would you mind attaching your Members.subs.php and Register.controller.php?
Title: Re: 1.0.5 Board e-mails not coming
Post by: Jorin on August 26, 2016, 11:16:35 am
No problem.
Title: Re: 1.0.5 Board e-mails not coming
Post by: emanuele on August 26, 2016, 03:22:23 pm
Could you also attach your MessageNewMembers.integrate.php? (Should be in sources.)
Title: Re: 1.0.5 Board e-mails not coming
Post by: Jorin on August 26, 2016, 04:28:30 pm
Sure.
Title: Re: 1.0.5 Board e-mails not coming
Post by: emanuele on August 27, 2016, 06:25:13 am
Could you have a look at your admin panel and see if you have configured the "senders" of the PMs?
Title: Re: 1.0.5 Board e-mails not coming
Post by: Jorin on August 30, 2016, 02:11:53 am
The admin email adress in the server settings is correct and yes, I have set my admin user as sender of the PM in the settings of the addon.
Title: Re: 1.0.5 Board e-mails not coming
Post by: Jorin on October 11, 2016, 08:23:20 am
Any news?  O:-)
Title: Re: 1.0.5 Board e-mails not coming
Post by: emanuele on October 11, 2016, 08:46:33 am
@txcas when you registered at elkarte.it did you get a welcome PM?
Title: Re: 1.0.5 Board e-mails not coming
Post by: txcas on October 11, 2016, 12:56:37 pm
Quote from: emanuele – @txcas when you registered at elkarte.it did you get a welcome PM?
I did:

Hello Txcas, your registration request at ElkArte 1.1 testing site has been received.
 
The username you registered with was Txcas. If you forget your password, you can change it at http://www.elkarte.it/elk1.1/index.php?action=reminder (http://www.elkarte.it/elk1.1/index.php?action=reminder).

Before you can login and start using the forum, your request will be reviewed and approved.  When this happens, you will receive another email from this address.

Regards,
The ElkArte 1.1 testing site Team.
Title: Re: 1.0.5 Board e-mails not coming
Post by: emanuele on October 11, 2016, 03:23:05 pm
Ohh... never mind I forgot you registered to the 1.1 test site, I thought it was the 1.0... :-[
Title: Re: 1.0.5 Board e-mails not coming
Post by: emanuele on October 11, 2016, 05:32:32 pm
I tested it just now on my test site. Apart from the fact the PM is not sent to the new member, the notifications email are delivered properly, so... I'm a bit lost.
Does the welcome PM works for you?

Never mind, the package I was using is broken.

ETA: that said... I have no idea where the problem is.
Title: Re: 1.0.5 Board e-mails not coming
Post by: ahrasis on October 11, 2016, 10:47:31 pm
When the link is clicked, it says: Wrong value type sent to the database. Array of integers expected. (member_ids)

I think the addon is overwriting the default activation email and as such it is referring to a member id which is not yet activated?

But the registered member did successfully registered in my case though no email is sent after the activation.
Title: Re: 1.0.5 Board e-mails not coming
Post by: Jorin on October 11, 2016, 11:47:02 pm
I have that problem too.