frriction Posted September 8, 2012 Report Share Posted September 8, 2012 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. http://caspian.dotconf.net/menu/Software/SendEmail/ Creating a Task First, launch the task scheduler by typing Task Scheduler into your Start menu and pressing Enter. Click the Create Task link in the sidebar. 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] On the Triggers tab, create a new trigger that begins the task at log on for any user. [img width=458 height=420] 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] 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] Click the OK button and save your task. You should now receive email notifications whenever someone logs into your computer. Quote Link to comment Share on other sites More sharing options...
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.