Can someone let me know how to configure Joomla so that I get an email each time someone logs into my site.
At the moment, I get an email only when someone has registered. I'm running Joomla 3.5
There is a plugin in the Joomla Extensions Directory called "Login Notify" that claims to do exactly this. I haven't used it myself, but according to the description:
Login notify is a plugin that send email alert when any user log-in to the system. You can even set the application for which you want to make this plugin work, like only for admin section or only for site. This plugin also allows you to set the usergroup(s) for which login alerts are needed, suppose you do not want to get the alerts for super users or administrator then this is completely possible with this plugin. This plugin also facilitates you to send alert to the logged-in user.
How to install
The plugin does not seem to follow Joomla standards when it comes to installation, so you'll have to do some extra work:
login-notify.zip to your computer.
source folder inside.
source folder. The name of the zip-file does not matter.
I believe there is no such built-in feature available. You can extend Joomla's functionality by writing a User plugin. When a user login to the site, Joomla will trigger the event onUserAfterLogin
So you need to write your own User plugin to and implement onUserAfterLogin event to send emails. See below documentation to know how you can create a Joomla plugin.
See below documentation to know how you can send emails from Joomla.
As another alternative, the firewall settings provided with Admin Tools by Akeeba, has option to send emails when a user has successfully logged in. It can even track unsuccessful attempts to login - and save the username and password that user used.
Just one note, because Admin tools comes in 2 editions (free and paid) I can't remember if the above features are included in the free edition.
Whatever the case, I would highly recommend Admin Tools pro, as it is a great utility that would also help protect and maintain your site. It's sort of a must-have extension for every Joomla.