Re: using smtp sent large file upto 60MB

2012-12-10 Thread moonhkt
On 12月5日, 下午11時01分, Michael Torrie wrote: > On 12/04/2012 05:54 PM, moonhkt wrote: > > > Our SMTP can send file more than 60MB. But our notes server can > > configured 100MB,30MB or 10MB. My notes Mail box can receive 100MB. > > > In UNIX, by below command send  smtp mail. > > uuencode $xfn $xfn |

Re: using smtp sent large file upto 60MB

2012-12-05 Thread Michael Torrie
On 12/04/2012 05:54 PM, moonhkt wrote: > Our SMTP can send file more than 60MB. But our notes server can > configured 100MB,30MB or 10MB. My notes Mail box can receive 100MB. > > In UNIX, by below command send smtp mail. > uuencode $xfn $xfn | mail -s "$SUBJECT" $NAME Just continue to use this s

Re: using smtp sent large file upto 60MB

2012-12-04 Thread moonhkt
On 12月5日, 下午1時34分, Chris Angelico wrote: > On Wed, Dec 5, 2012 at 11:54 AM, moonhkt wrote: > > I am prepare change UNIX script to Python. smtp and ftp are my first > > tasks. > > > But, when using standard unix command mail and uuencode without this > > issue. > > > Our SMTP can send file more th

Re: using smtp sent large file upto 60MB

2012-12-04 Thread Chris Angelico
On Wed, Dec 5, 2012 at 11:54 AM, moonhkt wrote: > I am prepare change UNIX script to Python. smtp and ftp are my first > tasks. > > But, when using standard unix command mail and uuencode without this > issue. > > Our SMTP can send file more than 60MB. But our notes server can > configured 100MB,3

Re: using smtp sent large file upto 60MB

2012-12-04 Thread moonhkt
On 12月5日, 上午4時54分, Chris Angelico wrote: > On Wed, Dec 5, 2012 at 2:41 AM, Laszlo Nagy wrote: > > 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. > > But be aware of a few th

Re: using smtp sent large file upto 60MB

2012-12-04 Thread Chris Angelico
On Wed, Dec 5, 2012 at 2:41 AM, Laszlo Nagy wrote: > 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. But be aware of a few things. 1) Converting 1MB of binary data into a MIME-p

Re: using smtp sent large file upto 60MB

2012-12-04 Thread Laszlo Nagy
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 possi

Re: using smtp sent large file upto 60MB

2012-12-04 Thread moonhkt
On Dec 4, 6:07 pm, Chris Angelico wrote: > On Tue, Dec 4, 2012 at 7:15 PM, moonhkt wrote: > > How to using python send file uptp 60MB ? > > Step one: Don't. SMTP is almost never the best choice for sending huge > files around. > > There are plenty of other ways to share files; send an email with

Re: using smtp sent large file upto 60MB

2012-12-04 Thread Chris Angelico
On Tue, Dec 4, 2012 at 7:15 PM, moonhkt wrote: > How to using python send file uptp 60MB ? Step one: Don't. SMTP is almost never the best choice for sending huge files around. There are plenty of other ways to share files; send an email with instructions on how to access the file, rather than at

using smtp sent large file upto 60MB

2012-12-04 Thread moonhkt
Hi All How to using python send file uptp 60MB ? s = smtplib.SMTP("localhost") #~~ s.set_debuglevel(1) s.sendmail(from_addr, to_addr,m.as_string()) s.quit For 13MB file have below error s.sendmail(from_addr, to_addr,m.as_string()) File "/opt/freeware/lib/python2.6/email/message.py", line