News:

Follow us on Bluesky!

Main Menu

Forum emails

Started by lc62003, January 14, 2015, 10:05:36 PM

Previous topic - Next topic

lc62003

None of them are working.  Birthdays, password reset, notifications, etc.  The settings are correct (unchanged from working 2.0.9).  Where should I look ladies and gents?   :D

Night09

Are you using PHP default or SMTP for your mail?


lc62003

Quote from: Night09 on January 15, 2015, 02:30:35 PM
Are you using PHP default or SMTP for your mail?

Originally SMTP though neither work now.   :(

Illori

are you using 2.0 or 2.1?

lc62003


Night09

Has it ever worked on 2.1, have you installed any new mods, are there any errors in the logs?

We need more information other than its just stopped working to get a better idea of whats wrong here.


Bob Perry of Web Presence Consulting

Quote from: lc62003 on January 15, 2015, 08:06:23 PM
Quote from: Illori on January 15, 2015, 04:49:30 PM
are you using 2.0 or 2.1?

2.1   ;)

Have you looked at the settings in your profile "Notifications" setting area?

There may indeed be something a little funky about email, looking into it too, but don't think its total non-function, my test system works fairly well but it looks like its having trouble with getting the correct member name on the receiver side salutation when notifying a member about a mention...
Best Regards,
Bob Perry



"The world is moving so fast these days that the man who says it can't be done is generally interrupted by someone doing it." Elbert Hubbard

lc62003

Quote from: Night09 on January 16, 2015, 05:39:56 AM
Has it ever worked on 2.1, have you installed any new mods, are there any errors in the logs?

We need more information other than its just stopped working to get a better idea of whats wrong here.

Nope, nope, and nope. 

I wish I knew what else to include.  By every indication it "works" but nothing happens.  For example, trying the password reminder.  It says an email has been sent but no email arrives.  BTW this happens on multiple installs, both upgrade and vanilla. 



Quote from: Bob Perry on January 16, 2015, 08:34:57 AM
Quote from: lc62003 on January 15, 2015, 08:06:23 PM
Quote from: Illori on January 15, 2015, 04:49:30 PM
are you using 2.0 or 2.1?

2.1   ;)

Have you looked at the settings in your profile "Notifications" setting area?

There may indeed be something a little funky about email, looking into it too, but don't think its total non-function, my test system works fairly well but it looks like its having trouble with getting the correct member name on the receiver side salutation when notifying a member about a mention...

Yes.  It's a good suggestion.  Password reminder should still work even if it were a notification issue.  Still worth considering.  Thanks for the suggestions guys.  Any others?

Night09

Have you also checked directly the resolving mail address is still working from the provider using SMTP. If PHP default doesnt work because the host doesnt have a configuration for it then it may be a red herring. It might be worth trying another mail address in SMTP to verify that it isnt sending.

lc62003

Quote from: Night09 on January 16, 2015, 09:38:47 AM
Have you also checked directly the resolving mail address is still working from the provider using SMTP. If PHP default doesnt work because the host doesnt have a configuration for it then it may be a red herring. It might be worth trying another mail address in SMTP to verify that it isnt sending.

Great suggestion.  It worked with a 2.0.9 install but not after upgrading.  SMTP and php both work with a 2.0.9 install on the same server.  2.1 fails delivery to my own email which is @ it's own domain.  Is there something I'm missing with your suggestion or does that answer it?  Thanks! 

If it helps:  VPS, managed by yours truly.  Email works to/from other domains. 

Arantor

Well, 2.1 upgrade turns on the mail queue, was that enabled before?
Holder of controversial views, all of which my own.


Bob Perry of Web Presence Consulting

I now feel comfortable enough to confirm that there's a couple glitches between email/notifications/alerts/mentions... but the base email send/recieve seems fine from my viewpoint, thus far, testing continues....

proceding to start a new topic specific to quoting/mentions/notifications...
Best Regards,
Bob Perry



"The world is moving so fast these days that the man who says it can't be done is generally interrupted by someone doing it." Elbert Hubbard

lc62003

Quote from: Arantor on January 16, 2015, 10:34:37 AM
Well, 2.1 upgrade turns on the mail queue, was that enabled before?

Yes.   8)

Night09

I installed a 2.0.9 fresh set of files from the site here and made a test post using SMTP and it sends the post.

I then upgraded the 2.0.9 with 2.1 beta latest download and then set SMTP settings and made a test post which didnt send.

I made a new 2.1 Beta latest download and set SMTP and made a test post that didnt send.

I have an older version of 2.1 Beta installed that does send.

Working on the upgraded version I replaced every file in the subs folder and theme folder from new 2.1 Beta and still no mail sending. This lead me to conclude the issue is database related. I have linked the install to the older working database and tried test posting and that worked.  I have replaced some database settings where I assumed some conflict may occur but have yet to pin the issue to the exact entry.

If anyone from the team knows of any recent mail changes it may help but if not ill try and pin down where its going wrong.  There are no errors reported in the logs but I have noticed the gren stripe that says mail was sent to the queue seccesfully after sending a newsletter does not dissapear even when browsing away from the page and back again.

Thats where im up to anyway.

lc62003

That's incredible work night.  Thanks!   8)

w4rkr4f7

I can confirm password reminder is not working (no errors generated also) on 2.1 but if you use Reminder.php and Reminder.template.php from version 2.09  will working fine

Bob Perry of Web Presence Consulting

Quote from: w4rkr4f7 on January 21, 2015, 04:22:13 AM
I can confirm password reminder is not working (no errors generated also) on 2.1 but if you use Reminder.php and Reminder.template.php from version 2.09  will working fine

Odd about the close proximity of the time frame coincidence of this, but I too can confirm there is a glitch in my production site version of 2.1, which is behind in being the currently updated cleaned up release, nevertheless... in regard to password reminders, just yesterday received an email from a fellow SMF site owner/admin who attempted it on my system, it indicates to him that the email is sent and there's no errors in the log, but he never receives the email after several attempts...

Best Regards,
Bob Perry



"The world is moving so fast these days that the man who says it can't be done is generally interrupted by someone doing it." Elbert Hubbard

Bob Perry of Web Presence Consulting

UN-related to my previous post in this thread, just now experienced something else new to me that is sooo cool, it notifies the members who are "watching" any particular topic by email if set, that the particular topic has been made a sticky by whomever did it... neat, and I see no errors in the email having any wrong information inserted on initial scan of the email, will look closer to be sure after I post this, wanted to get it out there for yall first...

Best Regards,
Bob Perry



"The world is moving so fast these days that the man who says it can't be done is generally interrupted by someone doing it." Elbert Hubbard

lc62003

Quote from: w4rkr4f7 on January 21, 2015, 04:22:13 AM
I can confirm password reminder is not working (no errors generated also) on 2.1 but if you use Reminder.php and Reminder.template.php from version 2.09  will working fine

Good idea!  However I tried this and get a database error.  Other than straight file replacement is there something more to be done? 

Kindred

you SHOULD get an error if you tried to do a straight replace of 2.1 files with 2.0.9 files...  I find it unlikely that it just works....
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

lc62003

Quote from: Kindred on January 21, 2015, 11:30:44 AM
you SHOULD get an error if you tried to do a straight replace of 2.1 files with 2.0.9 files...  I find it unlikely that it just works....


I would think so.  No harm in trying either.   ;D

w4rkr4f7

Quote from: lc62003 on January 21, 2015, 11:23:17 AM
Quote from: w4rkr4f7 on January 21, 2015, 04:22:13 AM
I can confirm password reminder is not working (no errors generated also) on 2.1 but if you use Reminder.php and Reminder.template.php from version 2.09  will working fine

Good idea!  However I tried this and get a database error.  Other than straight file replacement is there something more to be done?


to avoid database errors:
line 90 on file Reminder.php
SELECT id_member, real_name, member_name, email_address, is_activated, validation_code, lngfile, openid_uri, secret_question

change it to
SELECT id_member, real_name, member_name, email_address, is_activated, validation_code, lngfile, secret_question


line 103 on file Reminder.php
SELECT id_member, real_name, member_name, email_address, is_activated, validation_code, lngfile, secret_question

change it to
SELECT id_member, real_name, member_name, email_address, is_activated, validation_code, lngfile, openid_uri, secret_question

remove line 147 on file Reminder.php
'OPENID' => $row['openid_uri'],

Advertisement: