The beginning of the idea is very simple, because there are thousands of messages need to send out, and need a message sent, can not be forwarded or mass, each message to the name of each other, and add a few of the same characters, considering the manual operation is tedious, so think of the program implementation, Python seems very competent. e-mail in Excel table, therefore, the first consideration is to read the Excel table, the best way is to directly modify the Excel table each record, indicating that this record has been sent successfully, but I use the xlrd, can only read, can not write, had to call the INI method, so that the completion of the read data, Depending on the INI data, decide whether to send the message, modify the INI data status. Well, that's the situation.
Then you have to study how to send mail, with the Mail protocol SMTP can, unfortunately, the domestic mailbox is too bad, the first e-mail a success, another one on the back of the letter, the study of 163 is the case, QQ has not been sent successfully, and then test Hotmail, incredibly successful, Just too slow, too slow, send a letter to 1 minutes, really do not know when to send. Upload the code snippet later.
Python3 Implementing a mail-sending program