I've considered making the user download the .pdf and doing the attachment themselves. Problem is that these are inbound faxes of things like contracts and other agreements so there tends to be a fairly significant number of potential documents, they can be fairly sizable, and they get passed around ALOT. Making a remote user have to download a fairly large pdf, just to reattach it would cause me to get a headache from the upset users.
The link idea might have something to it. I mean it would take some other changes to how we handle this, but the more I think about linking its got a whole raft of other issues that are also somewhat complicated. What if the file is moved or deleted after the email is sent (apparently not uncommon)? Icky.
I'm a little confused on how the existing Zimbra mail client does attachments, I was under the impression that all changes in the client were done via SOAP requests updating the current view. But the upload can't be done that way, there needs to be an POST of a form to get the file there (I'm guessing via AJAX and blocking until completion), then the resulting id is included in the SOAP request, which is different than the normal flow.
Could I do one jsp in the zimlet to select the file, and another jsp to do many of the same functions as the FileUploadServlet? DO jsps in Zimlets have access to the same Classpath/Context as a servlet?
Last edited by Coilcore; 04-25-2006 at 06:02 PM..
|