Python custom task reminder e-mail

Foreword

      At work, sometimes you need to perform some tasks on a regular basis or in the task to be performed one day in the future, in order to avoid omissions, designed gadget, send an email to remind myself to deal with.

About the program

      Task 1. Create a Excel file, which defines good to be reminded

      2. Establish a Notepad file, which is to be input to receive mail email account

      3. Write code using Python, read Excel files, whether to send a reminder to check the mail if need to be reminded, then sent a message to the recipient.

      4. coding the python, packaged into an executable file exe

      The timing task using Windows job scheduling exe files prepackaged

Detailed program:

       1.Excel name: Task.xlsx, sheet name: sheet1

         

        Description:

          1), Frequency column, performing frequency

          2), Item column, where the following three points

                 a. When the English week Frequency is Week, Item is Monday, shows that need to be performed on Monday, Item fillable content

                 b. When Frequency is Month, Item value for a 1-30 middle of the day in the month to perform

                 c. When Frequency is Day, Item as a specific date, indicating to the specified date, alert messages

         3), Task content to send e-mail reminders

         4) whether the treatment, if it is Y, it indicates that has been processed, no longer need to send an email

 

Guess you like

Origin www.cnblogs.com/SH170706/p/11129457.html