How to Set Up Email Notifications When Logging into Your Computer
In this guide, we’ll walk you through the steps to send email notifications whenever you log into your Windows computer. This is a useful feature to keep track of who is accessing your machine. Let’s get started!
Step 1: Set Up a Password for Your Computer
If your computer does not have a password, the first step is to create one. This ensures that unauthorized users cannot access your system.
Step 2: Configure Your Gmail Account
Enable IMAP
For this process, we will be using Gmail to send and receive notifications. First, you need to enable IMAP in your Gmail settings. By default, IMAP is disabled, so make sure to turn it on.
Generate an App Password
Since you’ll be using an application to send and receive emails, you’ll need to create a new password specifically for this purpose. Follow these steps:
- Go to the Gmail account management page.
- Create a new password for the application.
- Name the app (e.g., “Win Log On”) and generate the password.
Make sure to save this generated password, as you will need it later.
Step 3: Install the Necessary Software
To send email notifications, you will need an application called Send Email. You can find the download link in the description below.
Step 4: Use Task Scheduler
Open Task Scheduler
On your Windows operating system, open the Task Scheduler Manager.
Create a New Task
- Click on “Create Basic Task.”
- Name the task (e.g., “Send Mail”).
- Set the task to run with the highest permissions.
Configure Task Settings
- Trigger: Set the task to execute when you log on to your computer.
- Delay: To ensure your internet connection is established, set a delay of 30 seconds after logging in.
Define the Action
You’ll now set the action for this task:
- Select the software you installed (Send Email) from the C partition.
- Copy and paste the previously prepared code that specifies:
- Sending email address
- Receiving email address
- Content of the email
When prompted, enter the app password you generated earlier.
Step 5: Test the Task
Once you have configured everything, run the task manually to check if it works correctly. Check your inbox to see if you received the email notification.
Step 6: Restart and Verify
Now, restart your computer. After logging in, wait for 30 seconds. You should receive an email notification confirming your login.
Conclusion
You have successfully set up email notifications for every time you log into your Windows computer. This can enhance your security and keep you informed about who is accessing your device.