Hi Hector,
please see this file: http://trac.roundcube.net/browser/trunk/roundcubemail/program/steps/mail/att...
It contains all the actions relevant to attachments.
Also, check out the related hook: http://trac.roundcube.net/wiki/Plugin_Hooks#attachment_save
If you think we need another hook, we could implement one as well.
Next time, please email the dev@ (CC'd) mailing list. Gets you a faster response, etc..
Till
On Thu, Dec 23, 2010 at 4:44 PM, Hector Luis Barrientos ticaje@free-social.net wrote:
Hello: im working on adding some functionalities to roundcube and im facing the following trouble: i need to, given a message im reading from the mail server, copy it(s) attached file(s) to the hosting server hard disk and i dont know where does roundcube stores temporary an email's attachments. Please if you would help me with this i would appreciate it.
Thanks a lot.
List info: http://lists.roundcube.net/dev/ BT/aba52c80
till wrote:
Hi Hector,
please see this file: http://trac.roundcube.net/browser/trunk/roundcubemail/program/steps/mail/att...
It contains all the actions relevant to attachments.
Also, check out the related hook: http://trac.roundcube.net/wiki/Plugin_Hooks#attachment_save
This is for attachments which are uploaded by the user when composing a new message.
Attachments of mail messages which are read from the IMAP server and displayed to the user are not stored on the Roundcube host but just piped through to the user's browser. If you need access to these, http://trac.roundcube.net/wiki/Plugin_Hooks#message_load is what you're looking for. Check out the vcard_attachments plugin which is bundled with the Roundcube sources to see how attachments can be accessed.
~Thomas
On Thu, Dec 23, 2010 at 4:44 PM, Hector Luis Barrientos ticaje@free-social.net wrote:
Hello: im working on adding some functionalities to roundcube and im facing the following trouble: i need to, given a message im reading from the mail server, copy it(s) attached file(s) to the hosting server hard disk and i dont know where does roundcube stores temporary an email's attachments. Please if you would help me with this i would appreciate it.
Thanks a lot.
List info: http://lists.roundcube.net/dev/ BT/aba52c80