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