SOAP: Reading Unread Mails

Have a great idea for extending Zimbra? Share ideas, ask questions, contribute, and get feedback.
Posts: 1
Joined: Tue Dec 05, 2017 12:54 pm

SOAP: Reading Unread Mails

Postby Vlerrie » Tue Dec 05, 2017 1:07 pm

Having trouble here. I am able to getFolder where I can see the unread mails, but I cant find any documentation as to how i can get the unread mail ids or read the mails. I'm Writing a cron job to access a mailbox and search for excel attachments and then import the excel to my database. But I can't get The SOAP API to open the mails.

Kind Regards

User avatar
Advanced member
Advanced member
Posts: 183
Joined: Mon Oct 14, 2013 10:09 am

Re: SOAP: Reading Unread Mails

Postby msquadrat » Tue Dec 05, 2017 3:47 pm

I'd do a SearchRequest with types="message" and a query like "in:Inbox is:unread attachment:excel" (or just "is:unread has:attachment").

Return to “Developers”

Who is online

Users browsing this forum: No registered users and 1 guest