Jump to content

Login Notifier


ryan
 Share

Recommended Posts

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?

 

 

Link to comment
Share on other sites

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.

 

 

  • Like 1
Link to comment
Share on other sites

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.

  • Like 1
Link to comment
Share on other sites

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.

  • Like 2
Link to comment
Share on other sites

  • 3 months later...

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

 

Link to comment
Share on other sites

  • 2 years later...

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...