.xlsx and .pdf change to .bin when sending a mail

前端 未结 0 1387
天命终不由人
天命终不由人 2020-12-29 17:59

I am trying to send 2 files (an Excel and a PDF) by email but the receiver only get .bin extension. Here is my working code:

from smtplib import SMTP
from ema         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题