Title: Email Notification on Login
Author: apasionados
Published: <strong>2017年10月17日</strong>
Last modified: 2026年1月27日

---

プラグインを検索

![](https://ps.w.org/email-notification-on-login/assets/banner-772x250.jpg?rev=1747661)

![](https://ps.w.org/email-notification-on-login/assets/icon-256x256.jpg?rev=1747661)

# Email Notification on Login

 作者: [apasionados](https://profiles.wordpress.org/apasionados/)

[ダウンロード](https://downloads.wordpress.org/plugin/email-notification-on-login.zip)

 * [詳細](https://ja.wordpress.org/plugins/email-notification-on-login/#description)
 * [レビュー](https://ja.wordpress.org/plugins/email-notification-on-login/#reviews)
 *  [インストール](https://ja.wordpress.org/plugins/email-notification-on-login/#installation)
 * [開発](https://ja.wordpress.org/plugins/email-notification-on-login/#developers)

 [サポート](https://wordpress.org/support/plugin/email-notification-on-login/)

## 説明

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](https://wordpress.org/plugins/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](https://wordpress.org/plugins/geoip-detect/)
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](http://www.maxmind.com)._

If the [Geolocation IP Detection (until March 2020: GeoIP Detection) plugin](https://wordpress.org/plugins/geoip-detect/)
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](https://wordpress.org/plugins/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](https://apasionados.es/contacto/index.php?desde=wordpress-org-email-notification-on-login-home).

#### Further Reading

You can access the description of the plugin in Spanish at: [Email notification on Login en español](https://apasionados.es/blog/enviar-email-cuando-alguien-se-loguea-wordpress-plugin-7762/).

### Contact

For further information please send us an [email](https://apasionados.es/contacto/index.php?desde=wordpress-org-email-notification-on-login).

## インストール

 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](https://wordpress.org/plugins/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](https://wordpress.org/plugins/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](https://wordpress.org/about/requirements/).
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. 😉

## 評価

![](https://secure.gravatar.com/avatar/d178e4e36fa08b82e0bb105bcf1d86185cf9f09587826e071a26679d8084bed9?
s=60&d=retro&r=g)

### 󠀁[works great](https://wordpress.org/support/topic/works-great-9277/)󠁿

 [datto510](https://profiles.wordpress.org/datto510/) 2024年6月8日

works great for me

![](https://secure.gravatar.com/avatar/67c8466fefc8a190072f7d77fd910375db08f853bbbf4e6214d9c8f25df86a64?
s=60&d=retro&r=g)

### 󠀁[Simple, and working fine](https://wordpress.org/support/topic/simple-and-working-fine-5/)󠁿

 [lausianne](https://profiles.wordpress.org/lausianne/) 2023年10月26日

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!

![](https://secure.gravatar.com/avatar/b0e3a113c7cbd074142665956f11c4e4bcbee5cb431340f840e5ed1645c9c938?
s=60&d=retro&r=g)

### 󠀁[Limited Information Provided](https://wordpress.org/support/topic/limited-information-provided/)󠁿

 [Amit Biswas](https://profiles.wordpress.org/mobilebd/) 2023年9月14日

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.

![](https://secure.gravatar.com/avatar/afc7ea30b25314410772aedd2dc4a78b896e3ea11d5f2b7b2b49f769737ebb05?
s=60&d=retro&r=g)

### 󠀁[Years old bug prevents it working](https://wordpress.org/support/topic/years-old-bug-prevents-it-working/)󠁿

 [lostwizard](https://profiles.wordpress.org/lostwizard/) 2023年8月4日

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.

![](https://secure.gravatar.com/avatar/bf91fea4018328657dc66be2e37024d7cdfd31027005e21befdc92eac9eb97a9?
s=60&d=retro&r=g)

### 󠀁[Causa errores en las API](https://wordpress.org/support/topic/causa-errores-en-las-api/)󠁿

 [mezcalo](https://profiles.wordpress.org/mezcalo/) 2021年5月27日

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.

![](https://secure.gravatar.com/avatar/e3c3d1da1f50b59e13f02e94090c0953adf2ac6e99aeb01bd9b8f6a726a6cdc3?
s=60&d=retro&r=g)

### 󠀁[Great plugin – but…….](https://wordpress.org/support/topic/great-plugin-but-160/)󠁿

 [bleakmidwinter](https://profiles.wordpress.org/bleakmidwinter/) 2020年12月1日

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
🙂

 [ 11件のレビューをすべて表示 ](https://wordpress.org/support/plugin/email-notification-on-login/reviews/)

## 貢献者と開発者

Email Notification on Login はオープンソースソフトウェアです。以下の人々がこのプラグ
インに貢献しています。

貢献者

 *   [ apasionados ](https://profiles.wordpress.org/apasionados/)

“Email Notification on Login” は1ロケールに翻訳されています。 [翻訳者](https://translate.wordpress.org/projects/wp-plugins/email-notification-on-login/contributors)
のみなさん、翻訳へのご協力ありがとうございます。

[“Email Notification on Login” をあなたの言語に翻訳しましょう。](https://translate.wordpress.org/projects/wp-plugins/email-notification-on-login)

### 開発に興味がありますか ?

[コードを閲覧](https://plugins.trac.wordpress.org/browser/email-notification-on-login/)
するか、[SVN リポジトリ](https://plugins.svn.wordpress.org/email-notification-on-login/)
をチェックするか、[開発ログ](https://plugins.trac.wordpress.org/log/email-notification-on-login/)
を [RSS](https://plugins.trac.wordpress.org/log/email-notification-on-login/?limit=100&mode=stop_on_copy&format=rss)
で購読してみてください。

## 変更履歴

#### 1.7.0 (07/02/2024)

 * Made changes to prevent warnings when using PHP >8.2.x: “PHP Warning: session_start():
   Session cannot be started after headers have already been sent”

#### 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.

## メタ

 *  バージョン **1.7.0**
 *  最終更新日 **9か月前**
 *  有効インストール数 **1,000+**
 *  WordPress バージョン ** 4.0.1またはそれ以降 **
 *  検証済み最新バージョン: **6.9.10**
 *  PHP バージョン ** 5.5またはそれ以降 **
 *  言語
 * [Danish](https://da.wordpress.org/plugins/email-notification-on-login/)、[English (US)](https://wordpress.org/plugins/email-notification-on-login/).
 *  [プラグインを翻訳](https://translate.wordpress.org/projects/wp-plugins/email-notification-on-login)
 * タグ
 * [admin login notification](https://ja.wordpress.org/plugins/tags/admin-login-notification/)
   [email notification](https://ja.wordpress.org/plugins/tags/email-notification/)
   [email notify on admin login](https://ja.wordpress.org/plugins/tags/email-notify-on-admin-login/)
   [login notification](https://ja.wordpress.org/plugins/tags/login-notification/)
 *  [詳細を表示](https://ja.wordpress.org/plugins/email-notification-on-login/advanced/)

## 評価

 5つ星中3.8つ星

 *  [  6 5-星レビュー     ](https://wordpress.org/support/plugin/email-notification-on-login/reviews/?filter=5)
 *  [  2 4-星レビュー     ](https://wordpress.org/support/plugin/email-notification-on-login/reviews/?filter=4)
 *  [  0 3-星レビュー     ](https://wordpress.org/support/plugin/email-notification-on-login/reviews/?filter=3)
 *  [  1 2-星レビュー     ](https://wordpress.org/support/plugin/email-notification-on-login/reviews/?filter=2)
 *  [  2 1-星レビュー     ](https://wordpress.org/support/plugin/email-notification-on-login/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/email-notification-on-login/reviews/#new-post)

[すべてのレビューを見る](https://wordpress.org/support/plugin/email-notification-on-login/reviews/)

## 貢献者

 *   [ apasionados ](https://profiles.wordpress.org/apasionados/)

## サポート

意見や質問がありますか ?

 [サポートフォーラムを表示](https://wordpress.org/support/plugin/email-notification-on-login/)

## 寄付

このプラグインが今後も改善できるよう応援しませんか ?

 [ このプラグインに寄付 ](https://apasionados.es/)