Re: Attached images by plain email.

2006-02-22 Thread Ludwig
Seems like you are not providing a full path to the file 'check.jpg'. How is your program supposed to know where in the filesystem it is located? Either that, or you have to put the file in the same directory that on which the program is running. Also, you should use two backslashes in the name: p

Re: Attached images by plain email.

2006-02-20 Thread Gaz
Can you help me a little bit more? Please check this out: 102 part.addheader('Content-Transfer-Encoding', 'base64') 103 body = part.startbody('image/jpeg; name=c:\check.jpg') 104 base64.encode(open('check.jpg', 'rb'), body) 105 106 base64 = , base64.encode = , builtin open = , body =

Re: Attached images by plain email.

2006-02-15 Thread Gaz
You are the man! -- http://mail.python.org/mailman/listinfo/python-list

Re: Attached images by plain email.

2006-02-15 Thread luis . armendariz
Hi Gaz, Perhaps this will help? http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/52243 -- http://mail.python.org/mailman/listinfo/python-list