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 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: 115
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: 115
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
Intermediate Member
 
Posts: 23
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: 5,806
Default

Have a look under /opt/zimbra/zimlets.
__________________
SplatNIX IT Services :: Innovation through Collaboration™


http://www.messagefortress.com
Reply With Quote
  #7 (permalink)  
Old 02-26-2009, 09:11 AM
Zimbra Consultant
 
Posts: 5,814
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
__________________
-Mike Morse (MCode151)

ZCS-to-ZCS Migrations & Moves | Admin Tools & Tidbits » ZimbraBlog.com | ZimbraCommunity.com
Reply With Quote
Reply


Thread Tools
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.

Zimbrablog.com




 

Search Engine Optimization by vBSEO 3.1.0