Jump to content

Get email notification when someone log into your computer.


Recommended Posts

Instead, download SendEmail, a free tool for sending emails from the command line. With SendEmail, we can write a single command that will send out an email. SendEmail supports authentication, so we can easily send email from Gmail’s SMTP server or any other server that requires authentication.


Creating a Task

First, launch the task scheduler by typing Task Scheduler into your Start menu and pressing Enter.

Posted Image

Click the Create Task link in the sidebar.

Posted Image

On the General pane, provide a name and description for the task. You should also select the Run whether user is logged on or not option.

[img width=483 height=420] image15.png

On the Triggers tab, create a new trigger that begins the task at log on for any user.

[img width=458 height=420] image16.png

On the Actions tab, create a new action that runs the sendemail.exe application. Add arguments like the following:

-f [email protected] -t [email protected] -u Someone Logged Into Your Computer -m Someone just logged into your computer! -s smtp.gmail.com:587 -xu [email protected] -xp password -o tls=yes

The above arguments sends an email from [email protected] to [email protected]. The email’s subject is “Someone Logged Into Your Computer” and its message body is “Someone just logged into your computer!”. The server information is smtp.gmail.com with port 587 – if you’re using a different SMTP server provider, you’ll have to change this. You’ll also have to replace password with your own password.

[img width=388 height=420] image17.png

On the Conditions tab, uncheck Start the task only if the computer is on AC power option or you won’t get emails if your computer is a laptop and it’s unplugged.

[img width=483 height=420] image20.png

Click the OK button and save your task. You should now receive email notifications whenever someone logs into your computer.

Posted Image

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...