Wechat mailbox effect list
Tools to prepare
- Any recent version of Node.js will work
- A server or idle computer
- Wechat open QQ mailbox reminder
The code for
- It uses three modules: AXIos for network request to obtain data, Nodemailer for mail sending, and Node-schedule for performing scheduled tasks. It can customize year, month, day, hour, minute and second.
- The constants defined are mainly fund related address and their own email parameters, QQ email authorization code needs to go to the email Settings to obtain.
- Define the method of obtaining fund data
- Define the method for sending messages
-
Defines methods for performing scheduled tasks
All (async+await) is used to perform the Promise task. It is better to extract the DOM structure assembly as well.
- Finally, perform the regular task method, you can set the time to receive the fund data mail!
Write in the last
If you think it is good, your likes and comments are the biggest motivation for me to move forward.
Follow the public account Dearhuan, reply [wechat hot list] learn together to find more wonderful.