python program deleted

Steven D'Aprano steve at REMOVE-THIS-cybersource.com.au
Thu Mar 27 18:32:41 EDT 2008


On Thu, 27 Mar 2008 18:08:05 -0400, jim-on-linux wrote:

> py users,
> 
> I developed a python program and used py2exe to create the exe.
> 
> I zip the entire package and email it to my clients.
> 
> Some clients get the zip file, unzip the package and everything works
> fine.
> 
> And some clients get my email with an icon attached which has the
> correct filename but the size is 8k when it should be about 5 mb.

That would be an email problem, not a Python problem.

You need to:

(1) Check that you actually are attaching the 5MB file to the email like 
you think you are.

(2) Check that your mail client is sending the email with attachment.

(3) Check that your mail server is accepting the email.

(4) Check that your mail server is sending the email.

(5) Check that the receiver's mail server is accepting the email.

(6) Check that the receiver's mail server is delivering the 5MB email to 
the user's mailbox.

(7) Check that the receiver's mail client is displaying the attachment.


It's quite possible that the receiver's mail server is quarantining the 
attachment. 5MB is a lot for email -- many mail servers will reject 
emails larger than 10MB, although in my opinion setting the limit at 5MB 
is being overly strict. Once you've confirmed that the attachment left 
your mail server, you need to tell your clients to speak to their system 
administrator.



-- 
Steven



More information about the Python-list mailing list