WordPress.org

Ruáinga

  • Tehm ókkol
  • Modhul ókkol
  • About
  • Kompiyuthar Nezam’r Sóbok Ókkol
  • Konték
  • Get WordPress
Get WordPress
WordPress.org

Plugin Directory

Email Notification on Login

  • Submit a plugin
  • My favorites
  • Log in
  • Submit a plugin
  • My favorites
  • Log in

This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Email Notification on Login

By apasionados
Download
  • Details
  • Reviews
  • Installation
  • Development
Support

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

works great

datto510 Jun 8, 2024
works great for me

Simple, and working fine

lausianne Oktubor 26, 2023
Just installed this, set the recipient mail, done. Tried two logins and received notifications with sufficient info immediately. Strangely, these mails were in different languages … I would appreciate if it was possible to enter several notification e-mails, not only one. Or if I could select user roles who should receive notifications. Ideally the option that everyone receives notifications for their own logins. So if they receive a notification with their name and they did not log in, they know something’s wrong. Anyway, for this site it does what my client expected. Thank you!

Limited Information Provided

Amit Biswas Séptembor 14, 2023
I recently installed this plugin with the hope of getting comprehensive login information, but unfortunately, it falls short in this regard. The plugin’s functionality is lacking, as it only provides minimal login details. While it may have other useful features, the primary purpose I installed it for remains unmet. I was expecting more comprehensive data about logins, which is crucial for security and monitoring purposes. However, this plugin fails to deliver in this aspect. It’s disappointing that it doesn’t live up to the expectations it sets. I hope the developers can work on improving the plugin’s capabilities to provide a more detailed and informative login experience. Until then, I can only give it two stars, as it falls short of what I needed it to do.

Years old bug prevents it working

lostwizard Ogóst 4, 2023
Based on the support messages, there’s a years old bug that causes it to crash. Not fit for purpose because it doesn’t actually work.

Causa errores en las API

mezcalo Mee 27, 2021
Mi sitio se caía constantemente, desactivé plugins y descubrí que era este el que causaba los errores: 2 errores críticos Se ha detectado una sesión PHP activa Rendimiento Se ha creado una sesión PHP por la llamada a la función session_start(). Esto interfiere con la API REST y las solicitudes de retorno. La sesión debería ser cerrada por session_write_close() antes de hacer cualquier solicitud HTTP. La API REST ha encontrado un error Rendimiento La API REST es una forma en que WordPress y otras aplicaciones se comunican con el servidor. Un ejemplo es la pantalla del editor de bloques, que se basa en esto para mostrar y guardar tus publicaciones y páginas. Ha fallado la solicitud a la API REST debido a un error. Error: cURL error 28: Operation timed out after 10001 milliseconds with 0 bytes received (http_request_failed)` Ojalá puedan componerlo, es muy buen plugin.

Great plugin – but…….

bleakmidwinter Disambor 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 🙂
Read all 11 reviews

Contributors & Developers

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

Contributors
  • apasionados

“Email Notification on Login” has been translated into 1 locale. Thank you to the translators for their contributions.

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.6.1 (16/05/2022)

  • Updated language file names from apa-enol-xx_XX to email-notification-on-login-xx_XX to make the text domain match the plugin URL.

1.6 (16/05/2022)

  • Changed text-domain to match plugin slug.

1.5 (24/02/2022)

  • Made changes to session_start() to prevent a notification in the health widget about it and an error in Rest API because of this.

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.6.1
  • Last updated 2 bosór óll ago
  • Active installations 1,000+
  • WordPress version 4.0.1 or higher
  • Tested up to 6.3.5
  • PHP version 5.5 or higher
  • Languages

    Danish arde .English (US).

    Translate into your language

  • Tags
    admin login notificationemail notificationemail notify on admin loginlogin notification
  • Advanced View

Ratings

3.8 out of 5 stars.
  • 6 5-star reviews 5 stars 6
  • 2 4-star reviews 4 stars 2
  • 0 3-star reviews 3 stars 0
  • 1 2-star review 2 stars 1
  • 2 1-star reviews 1 star 2

Add my review

See all reviews

Contributors

  • apasionados

Support

Got something to say? Need help?

View support forum

Donate

Would you like to support the advancement of this plugin?

Donate to this plugin

  • About
  • News
  • Hosting
  • Privacy
  • Showcase
  • Themes
  • Plugins
  • Patterns
  • Learn
  • Support
  • Developers
  • WordPress.tv ↗
  • Get Involved
  • Events
  • Donate ↗
  • Five for the Future
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org
WordPress.org

Ruáinga

  • Visit our X (formerly Twitter) account
  • Visit our Bluesky account
  • Visit our Mastodon account
  • Visit our Threads account
  • Visit our Facebook page
  • Visit our Instagram account
  • Visit our LinkedIn account
  • Visit our TikTok account
  • Visit our YouTube channel
  • Visit our Tumblr account
Kudh hoóde hiín cairi.