Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Automatically send you an email when someone logs on to your computer

2025-03-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/03 Report--

I have contributed this article to other IT websites, so there is a conflict between screenshot watermark and 51cto, which ensures absolute originality!

This article introduced today is more important for users who pay attention to privacy. Of course, IT administrators can also use this method to monitor server security in enterprise management.

Function: when a user logs in to your PC, the system will automatically send an email to your designated mailbox.

Classification: security.

The program used:

Windows task planning

Sendemail

This software is a command-line tool for sending emails. It is extremely lightweight and convenient, and is mainly used in unix and linux.

Test environment:

This time I use the xp environment for testing, and I will test other systems if I have time.

Special note:

1. Unexpectedly, the program itself added a lot of tasks to the task plan, such as WPS and kms. Kms, I will say no more, criticize wps.

two。 Although this test is not complicated, it took more than half a day to test and adjust the parameters. I hope you will support me.

3. Only the simplest usage is introduced here, and other parameters can be tested if you are interested.

All right, let's officially proceed to the procedure:

Download sendemail

Download address:

Http://caspian.dotconf.net/menu/Software/SendEmail/

Knock on the blackboard and highlight:

There are two versions of this software, one with tls authentication and the other without. This experiment uses a version with tls verification.

Test whether sendemail can be used properly

Extract the file, then call the CMD command and navigate to the sendemail directory

Let's focus on the most important grammar:

Briefly describe the meaning of commonly used parameters:

/ usr/local/bin/sendEmail command main program

-f * @ *. Com sender mailbox

-s smtp server for smtp.*.com sender mailbox

-u the title of the message

-o message-content-type=html

The format of the message content. Html indicates that it is in html format.

-o message-charset=utf8

Email content coding

-xu login user name

-xp user password

-m message content

-t recipient mailbox

Example:

SendEmail-o tls=yes-f YourEmail@gmail.com-t SomeoneYoureEmailing@domain.com-ssmtp.gmail.com:587-xu YourEmail@gmail.com-xp YOURPASSWORD-u "Hello fromsendEmail"-m "How are you? I'm testing sendEmail from the commandline."

Note: if your password is complicated, such as including special symbols, please wrap it in double quotation marks.

This test uses its own EXCHANGEserver 2013 server as the sending server and QQ Mail as the pickup server.

The test passed. Proceed to the next step.

Add to task schedule

Open the task scheduler and create a new schedule

two。 Set up a task schedule

2.1 General Tab

2.2 trigger tab, create a new trigger

2.3 Action tab and create a new action

2.4 go back to the create tasks panel and go to the conditions tab

2.5 enter the user name and password dialog box if it pops up (this may be the reason for the remote operation)

2.6 go to the Task Scheduler panel to check your tasks.

If you are ready, you can right-click to run, and you will receive an email.

This is the end of this article, you are welcome to correct the errors, because there are other work can not be very complete testing of all the parameters. It took a lot of time for this article to be conceived and completed. I hope you will show mercy.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report