using smtp sent large file upto 60MB

Laszlo Nagy gandalf at shopzeus.com
Tue Dec 4 16:41:04 CET 2012


> Thank for suggestion. The next task will be ftp to user folder. But
> first tasks is how to using python send huge files.
Most SMTP servers are configured not to accept attachments bigger than 
10 or 15MB. In general, you should never send emails with >5MB 
attachments. Not because it is not possible, but because it is 
unreliable, and the solution is never in your hand. The solution depends 
on the SMTP server configuration, and in most cases you don't have 
access to the computers holding the final destination of the emails.

If you still don't want to accept this suggestion, then go ahead! Write 
a program, send out 100MB emails, and you will see for yourself that it 
just doesn't work.





More information about the Python-list mailing list