• About WordPress
    • About WordPress
    • WordPress.org
    • Documentation
    • Support
    • Feedback
  • Log In
  • Register
Skip to content

WordPress.org

English (Canada)

  • Home
  • Blog
  • Themes
  • Plugins
  • Join the Team
  • Style Guide
  • About Us: Our Mission
  • Get WordPress

Plugins

  • My Favourites
  • Beta Testing
  • Developers
Download

Email Notification on Login

By Apasionados
  • Details
  • Reviews
  • Installation
  • Support
  • Development

Description

This plugin sends an email to the WordPress System email (Settings / General / Email Address) or any other configured email address each time somebody logs into WordPress. This is handy if there are not many logins each day or week to keep track of all of them and being able to detect non authorized logins.

The email contains the username, the user id and the user role (administrator, editor, author or contributor). Other data included is the Date & Time and the IP Address.

This plugin is an enhanced version of the plugin Email notification on admin login, that tracks all users, includes user role, translations and the lookup of the country of the IP from which the form is sent.

We created this enhanced version of the plugin, because we needed a translation to Spanish and wanted to know the country from which the uses send the contact form, whithout having to lookup the IP address.

In order to display the Country it needs the Geolocation IP Detection (until March 2020: GeoIP Detection) plugin that can be found in the WordPress plugin repository. This plugin “provides geographic information detected by an IP adress”. This plugin auto-updates the GeoIP database once a week. This product includes GeoLite data created by MaxMind, available from www.maxmind.com.

If the Geolocation IP Detection (until March 2020: GeoIP Detection) plugin is not installed and enabled, you will only see the IP address, without the country of the IP adress.

We decided to use the Geolocation IP Detection (until March 2020: GeoIP Detection) plugin to handle the lookup of the country, because it’s a plugin that is actively developed and we saw no advantage in implementing all this functionality, when we could use an existing one.

What can I do with this plugin?

This plugin sends an email to the WordPress System email (Settings / General / Email Address) or any other configured email address each time somebody logs into WordPress. This is handy if there are not many logins each day or week to keep track of all of them and being able to detect non authorized logins.

What ideas is this plugin based on?

This plugin is an enhanced version of the plugin Email notification on admin login, that tracks all users, includes user role, translations and the lookup of the country of the IP from which the form is sent.

System requirements

PHP version 5.5 or greater.

Email notification on Login Plugin in your Language!

This first release is avaliable in English and Spanish. In the “languages” folder we have included the necessarry files to translate this plugin.

If you would like the plugin in your language and you’re good at translating, please drop us a line at Contact us.

Further Reading

You can access the description of the plugin in Spanish at: Email notification on Login en español.

Contact

For further information please send us an email.

Installation

  1. First you will have to upload the plugin to the /wp-content/plugins/ folder.
  2. Then activate the plugin in the plugin panel.
  3. Go to SETTINGS / Email Notification on Login.
  4. Configure settings.

FAQ

Why did you make this plugin?

We created this plugin to be able to track succesfull logins to some of our WordPress installations with a very low volume of logins each month.

We also wanted to know the country from which the uses send the contact form, whithout having to lookup the IP address + a spanish translation.

Does Email Notification on Login make changes to the database?

Yes. It creates one entry in the options table. This entry are deleted if you deactivate and uninstall the plugin. If you only deactivate, settings are kept.

How can I check out if the plugin works for me?

Install and activate. Log out of WordPress. Log in. You should receive an email with the login data.

If you don’t receive the emails it can be cause of the email server. Please install the plugin Email Log where you can check if the emails are sent correctly by WordPress.

Is there anything to take into consideration?

If you don’t receive the emails it can be cause of the email server. Please install the plugin Email Log where you can check if the emails are sent correctly by WordPress.

How can I remove Email notification on Login?

You can simply activate, deactivate or delete it in your plugin management section. If you delete the plugin through the management section the configuration is deleted (entries in options table are removed). If you delete the plugin through FTP the configuration is not deleted.

Are there any known incompatibilities?

Please don’t use it with WordPress MultiSite, as it has not been tested.

Is this plugin compatible with WPML

Yes. We are running the plugin on several sites with WPML 3.7.x and 3.8.x.

Which PHP version do I need?

This plugin has been tested and works with PHP versions 5.5 and greater. WordPress itself recommends using PHP version 7 or greater. If you’re using a PHP version lower than 5.5 please upgrade your PHP version or contact your Server administrator.

Are there any server requirements?

Yes. The plugin requires a PHP version 5.5 or higher and we recommend using PHP version 7 or higher.

Do you make use of Email notification on Login yourself?

Of course we do. That’s why we created it. 😉

Reviews

Great plugin – but…….

bleakmidwinter December 1, 2020
May need an update as it appears to have been causing an issue with loopback and rest_api on my site. I have deactivated it and the errors went away, which is a shame BECAUSE IT IS REALLY REALLY USEFUL ! Developer - please have a look thanks 🙂

Super useful plugin!

qeyduey October 9, 2020
Does exactly what it says! Have a small site with only a few users logging in limited times per week or month? It'll send you an email notification so that you can track their logins! Thanks, Apasionados! ❤

Plugin review

bajweb May 12, 2020
Plugin is simple to use and work perfect for me and my clients. Thank you

does exactly what it says / what I needed

dreampc September 13, 2019
It simply works. Very handy for keeping an eye on unauthorised logins, and also off-shore contractors. Thanks for making this.

Good plugin!

Tomek March 26, 2019
A useful plugin. no problem with it

TOP! Plugin

alphaomegawebdesign January 5, 2018
It does what it should...great plugin...thank you very much!!!
Read all 6 reviews

Contributors & Developers

“Email Notification on Login” is open source software. The following people have contributed to this plugin.

Contributors
  • apasionados

Translate “Email Notification on Login” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

1.4.0 (02/12/2020)

  • Removed deprecated “screen_icon()”

1.3.0 (04/06/2020)

  • Added non-standard user roles to the notification email

1.2.0 (07/01/2020)

  • Corrected multiple emails sent on login when using WordPress 5.2+

1.1.0 (18/11/2018)

  • Added browser information to the email.

1.0.2 (14/09/2018)

  • Solved PHP 7.2 notice: “Undefined variable: trackingInfo on line 76”

1.0.1 (17/10/2017)

  • Replaced PHP date() function with WordPress date_i18n() to show the time and date according to the time zone settings of the WordPress and not UTC.

1.0.0 (15/10/2017)

  • First official release.

Meta

  • Version: 1.4.0
  • Last updated: 4 months ago
  • Active installations: 1,000+
  • WordPress Version: 4.0.1 or higher
  • Tested up to: 5.6.3
  • PHP Version: 5.5 or higher
  • Language:
    English (US)
  • Tags:
    admin login notificationemail notificationemail notify on admin loginlogin notification
  • Advanced View

Ratings

See all
  • 5 stars 5
  • 4 stars 1
  • 3 stars 0
  • 2 stars 0
  • 1 star 0
Log in to submit a review.

Contributors

  • apasionados

Support

Issues resolved in last two months:

0 out of 1

View support forum

Donate

Would you like to support the advancement of this plugin?

Donate to this plugin

  • About
  • Blog
  • Hosting
  • Donate
  • Support
  • Developers
  • Get Involved
  • Learn
  • Showcase
  • Plugins
  • Themes
  • WordCamp
  • WordPress.TV
  • BuddyPress
  • bbPress
  • WordPress.com
  • Matt
  • Privacy
  • Public Code
  • @WordPress
  • WordPress

Code is Poetry.