Webservices: Attachments

Use this forum for all questions related to the source code of OpenEMM

Moderator: moderator

aheman
Posts: 7
Joined: Thu Mar 11, 2010 9:24 pm

Webservices: Attachments

Post by aheman »

Based on my previous thread in the installations, I was able to fix the java array size declaration error I was getting with the latest version. Now that I've got a working set of webservices I can create new users, add them to a mailing list, and send the email with either html or text.

Now I'm trying to figure out if I can make attachments happen. It doesn't look like the current webservices include this functionality, but I'm wondering if I can work around the issue by either...

1) encoding it into the email myself somehow

or if I have to...

2) Writing a java function into EmmWebservice.java that will add an attachment and then compiling that change.

If anyone has any advice, it would be much appreciated. What I want to do is set it up in my website so that clicking a button will send the user back a report with a pdf. This I have, but I wanted to use OpenEMM to track of open rates.