[web2py] Re: How to email attachment with original filename

2012-08-17 Thread Niphlod
no problem. It's just that sometimes questions seems sketchy and I really don't understand what the issue really is. Fortunately manual (and source code) are handy :P On Friday, August 17, 2012 4:36:23 PM UTC+2, Cliff Kachinske wrote: > > The problem is I didn't pay attention while looking this

[web2py] Re: How to email attachment with original filename

2012-08-17 Thread Cliff Kachinske
The problem is I didn't pay attention while looking this up in the manual. :) On Friday, August 17, 2012 9:53:51 AM UTC-4, Niphlod wrote: > > Attachments take an optional parameter to specify the filename, so what is > your current problem ? > You have the original name on the table, you have

[web2py] Re: How to email attachment with original filename

2012-08-17 Thread Niphlod
Attachments take an optional parameter to specify the filename, so what is your current problem ? You have the original name on the table, you have the path on the table, you have the file in the uploads directory. Seems to me that you don't have to copy anything around mail.send('y...@exam

[web2py] Re: How to email attachment with original filename

2012-08-17 Thread Larry Wapnitsky
I'm currently storing the files as BLOBs in MySQL along with a field for the filename. That has been working for me. On Friday, August 17, 2012 8:35:38 AM UTC-4, Cliff Kachinske wrote: > > How can I email uploaded files with the original file name? > > I realize it is possible to make a copy of