Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Zimlets

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-22-2009, 10:55 AM
Starter Member
 
Posts: 2
Default Zimlet to access Attachment

Hi,

Can anybody help me with the most convenient way to implement the below requirement.

I recieve mails with attachment( application fxed length files) and I have an application which is used to generate the reports. Can I build a zimlet to invoke the application using say a hyperlink beside the attacment and how do I integrate my application to access the attachment ?

Can I use Zimbra desktop to implement and test the above functionality ??

Thanks
Pankaj
Reply With Quote
  #2 (permalink)  
Old 01-22-2009, 11:32 AM
Zimbra Employee
 
Posts: 187
Default

You can implement a zimlet that allows drag-drop of mail onto your Zimlet. Then grab the attachments from the mail and finally post it to your application.
Check out 'Contact Collector' com_zimbra_contactcollector in gallery.zimbra.com. That zimlet grabs sender's email and adds it to Addressbook and you can do something along that lines. But, you will have to do http get to post to your application.
__________________
Bugzilla - Wiki - Downloads - Before posting... Search!
Reply With Quote
  #3 (permalink)  
Old 01-23-2009, 11:21 AM
Starter Member
 
Posts: 2
Default

Thanks for the response.

I was looking on the lines of yflickr to implement where I display the "view report" hyperlink on the lines of "upload flickr". when we see a attachment of specific type. Is this possible ?

Looking at API, We can figure out if a msg or conversation has attachment or not, but how can we grab the attachment(s). Can you please help with a snippet of code or point to a source, where I could get help from.


Thanks,
Pankaj
Reply With Quote
  #4 (permalink)  
Old 01-23-2009, 11:58 AM
Zimbra Employee
 
Posts: 187
Default

check out email_2_doc (compatible with 6.x and perhaps 5.0.13) that converts emails to documents. and while doing that it grabs all the attachments.
__________________
Bugzilla - Wiki - Downloads - Before posting... Search!
Reply With Quote
  #5 (permalink)  
Old 02-26-2009, 06:41 AM
Senior Member
 
Posts: 71
Default

I can't find mail_2_doc in the zimlet galery. Is there somewhere else I should be looking?
Reply With Quote
  #6 (permalink)  
Old 02-26-2009, 07:08 AM
Moderator
 
Posts: 7,911
Default

Have a look under /opt/zimbra/zimlets.
__________________
Reply With Quote
  #7 (permalink)  
Old 02-26-2009, 09:11 AM
Moderator
 
Posts: 6,236
Default

Email-2-Doc : Zimbra Gallery (5.0.14+) DL link is on the right & will also be bundled in your servers /opt/zimbra/zimlets-extra
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.