Zip attachment in mail


I am facing issues while sending a zip file as an attachment in the mail.
I am using python 3 .

I have tried all the possible ways using MIMEApplication, MIMEBase, e.t.c.,

Please help me with the sample code asap.


Some mail providers (including Gmail) do not permit ZIP files to be mailed. Check with the mail provider before concluding the problem is in your code.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.