Peter Knight Posted September 4, 2016 Posted September 4, 2016 I have 2 sites running LoginNotifiers on 3.0.32 One of them refuses to send an email when there is a login even though they're both identical servers with the same host. I've no errors in the error logs. The LoginNotifier specific log found under assets/logs/LoginNotifier.txt successfully records logins. Any ideas on why 1 site may fail and 1 works?
adrian Posted September 4, 2016 Posted September 4, 2016 Hey @Peter Knight - I haven't used this module, and I know you said it is working on identical servers, but I would still start by updating the module (https://github.com/ryancramerdesign/LoginNotifier/blob/master/LoginNotifier.module#L102) to use wireMail (https://processwire.com/api/ref/mail/send/) so you can make use of SMTP, rather than php's mail() which can problematic for a variety of reasons. 1
cstevensjr Posted September 4, 2016 Posted September 4, 2016 4 minutes ago, adrian said: Hey @Peter Knight - I haven't used this module, and I know you said it is working on identical servers, but I would still start by updating the module (https://github.com/ryancramerdesign/LoginNotifier/blob/master/LoginNotifier.module#L102) to use wireMail (https://processwire.com/api/ref/mail/send/) so you can make use of SMTP, rather than php's mail() which can problematic for a variety of reasons. Great idea. It would also be good for the OP to open a github issue for this problem for that particular module. Then the fix will be permanent and useful for all. 1
Peter Knight Posted September 4, 2016 Posted September 4, 2016 14 minutes ago, adrian said: Hey @Peter Knight - I haven't used this module, and I know you said it is working on identical servers, but I would still start by updating the module (https://github.com/ryancramerdesign/LoginNotifier/blob/master/LoginNotifier.module#L102) to use wireMail (https://processwire.com/api/ref/mail/send/) so you can make use of SMTP, rather than php's mail() which can problematic for a variety of reasons. Cheers Adrian I'll try that. Oddly enough, an update to last Fridays 3.0.33 got the module working again on this problem server. 2
Peter Knight Posted December 21, 2016 Posted December 21, 2016 Could anyone using this Module to notify multiple email addresses please confirm the correct format? IE Emails separated with a comma (and no spaces) person01@email.com,person02@email.com,person03@email.com Emails separated with just a space person01@email.com person02@email.com person03@email.com Emails separated by both a comma and a space person01@email.com, person02@email.com, person03@email.com Client is asking after getting mixed results and trying all three. Thanks
itsberni Posted October 20, 2019 Posted October 20, 2019 hi Guys, are there any issues known with 3.0.113. The module doesn't send any notification-mail. Any Problems known with this version of PW? Many Thanks!
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now