This is a convenient way for you to make a daily or weekly report form Windows or Linux. This SendEmail application is already on Linux Machine. On Microsoft Windows, you need to download manually from
SendEmail.
1. On Linux Machine
Open the terminal and type these command as below.
You can check the options for SendEmail by using man or help command.
-f dungnq@itbox4vn.com : This parameter is the email address that will be the “sender.”
-t dungnq@itbox4vn.com : This is the recipient’s email address.
-u This is a test mail! : This is the subject
-m Hello! : This is the message body.
-a test-o1.cap : This is the attachment.
-s smtp.gmail.com:587 : SMTP server and port
-xu dungnq@itbox4vn.com : SMTP authentication ID name
-xp xxxxxx : SMTP authentication password
-o tls=yes : SMTP uses TLS (or SSL)
Now, check for your new email. I'm using Thunderbird 6.0.
2. On Windows Machine
Just open Task Scheduler and follow the instruction.
Have fun!