Issues with the Activation E-Mails November 18, 2018, 05:27:12 pm Dear allI have migrated a Forum that was running on SMF to Elkarte 1.0 and now 1.1.5 (on PHP 7.2)The conversion worked well (I have never worked on php or forums before ) , all user, messages, ect. are now runing on Elkarte.Congrats to the developpers for the easy installation process .But now I'm stuck with fixing an issue with E-mails. I am able to register as new user, but the activation E-Mails are not working (I tested different E-Mail addresses including the one that worked here) People interested in becoming user receive the "thank you for registering-Message", but they don't get an E-Mail to activate their accounts.Any ideas, what might be the reason and what I can check or change? I guess, that this function was not working on the SMF because the latest successful registration was about 1 year ago and there was a large list of "waiting for activation accounts".The only check I have done so far was this one: <?php$rec = 'nobody@example.com';$subj = 'any subject';$mess = 'hello';$header = 'From: webmaster@example.com' . "\r\n" . 'Reply-To: webmaster@example.com' . "\r\n" . 'X-Mailer: PHP/' . phpversion();mail($rec, $subj, $mess, $header);?> Such a simplified mail-function in php creates and sends a mail correctly, when executed. It is this forum: http://www.kaninchentreff.de/yabbse/index.phpBest wishesLina
Re: Issues with the Activation E-Mails Reply #1 – November 18, 2018, 06:00:55 pm Hi and welcome to elkarte!Did you checked that "Method of registration employed for new members " is set up as "Email activation" in Admin > Members > Registration > Settings?
Re: Issues with the Activation E-Mails Reply #2 – November 18, 2018, 06:14:17 pm Hi Raduyes, this setting is there or at least was there.I now tried registering with the "direct registering"-option and this time I receive an error message: https://www.elkarte.net/community/index.php?action=dlattach;sa=tmpattach;attach=post_tmp_963_eddcb562b388be91bbbd1e4ccd8e2910;topic=5477
Re: Issues with the Activation E-Mails Reply #3 – November 19, 2018, 03:23:30 pm E-Mails from the forum are working --> I can send newsletters .But the registration process is still not working and producing the error "Wrong value type sent to the database. Integer expected. (id_member)"Any ideas?
Re: Issues with the Activation E-Mails Reply #4 – November 19, 2018, 04:52:47 pm Sorry, I can't help, but I'm sure someone else will do. Post the error you are seeing into Admin > Error logs
Re: Issues with the Activation E-Mails Reply #5 – November 19, 2018, 05:48:38 pm Hii tried a lot of variants - and now it works The errorQuoteWrong value type sent to the database. Integer expected. (id_member)seems to be due to reusing E-Mail. With e-mail adresses that have not been used before, I don't get this error. For an unknown reason the original e-mail did't not work. I now created a new E-Mail adress for the forum and now everything is functional .ThanksLina
Re: Issues with the Activation E-Mails Reply #6 – November 24, 2018, 03:26:10 pm Quote from: Geto – November 19, 2018, 05:48:38 pmQuoteWrong value type sent to the database. Integer expected. (id_member)seems to be due to reusing E-Mail. With e-mail adresses that have not been used before, I don't get this error. Hello and welcome to elk.net! Sorry for the late reply, but it has been a difficult week, both because of an unstable internet connection and for a bit more work than expected.In theory, if the email address is already used, it should not even be possible to complete the registration process, let alone have a registration email sent.The error seems a bit strange, I guess some investigation would be necessary.Could you please describe a little more in details what you did?