Quantcast
Channel: Zimbra :: Forums - Developers
Viewing all 286 articles
Browse latest View live

SOAP API, how to manage out-of-office auto-reply, mail forwarding and local delivery

$
0
0
Hi

I have searched the Zimbra documentation, forums and SOAP API reference but I can't find any examples or commands to read, add, edit and delete (get, create, modify and delete?) settings for the following:
out-of-office auto-reply,
mail forwarding,
and local delivery.

There is mention here (http://www.zimbra.com/forums/develop...rdrequest.html) of how to use the ModifyAccount SOAP command with attribute zimbraMailForwardingAddress for mail forwarding but are there any complete examples of how to construct and process SOAP requests to read, add, edit and delete the above 3 settings?

I have to work with Zimbra Version 5.0.18

Many thanks in advance :)

Missing source for ical4j-0.9.16-patched.jar in main

$
0
0
Is it still around? I'm having trouble navigating through the perforce repo history in p4v.

Thanks in advance

- obn

SOAP and zimbraAdmin namespace

$
0
0
I'm making a couple of SOAP requests through Javascript. Ones to namespaces such as zimbraAccount work fine. The zimbraAdmin namespace works fine in the CLI, but I consistently get a 500 response from the server when they are made through Javascript. Even ones that are very simple, such as
Code:

com_ia_crm.prototype.getAllMailboxes = function() {
        var soapRequest = "GetAllMailboxesRequest";
        var soapNamespace = "urn:zimbraAdmin";
        var mySoapDoc = AjxSoapDoc.create(soapRequest, soapNamespace);
        var params = {
                        soapDoc : mySoapDoc,
                        asyncMode : true,
                        callback : (new AjxCallback(this, this.handleMailboxes)),
                        errorCallback : (new AjxCallback(this, this.mailboxesError))
        };
        appCtxt.getAppController().sendRequest(params);
};

are failing.

Another example is
Code:

com_ia_crm.prototype.__getZimbraAccountID = function(msg) {
        var soapRequest = "GetAccountInfoRequest";
        var soapNamespace = "urn:zimbraAccount";
        //var soapNamespace = "urn:zimbraAdmin";
        var soapDoc = AjxSoapDoc.create(soapRequest, soapNamespace);
        var accountNode = soapDoc.set("account", appCtxt.getUsername());
        accountNode.setAttribute("by", "name");

        var params = {
                        soapDoc : soapDoc,
                        asyncMode : true,
                        callback : (new AjxCallback(this, this.__handleZimbraAccountIDResponse, msg)),
                        errorCallback : (new AjxCallback(this,
                                        this.__handleSOAPErrorResponseXML))
        };

        appCtxt.getAppController().sendRequest(params);
};

This runs fine as I've posted it, but if I switch which declaration of soapNamespace is commented out (and make no other changes), I get the unknown document response.

I've poured over the SOAP API and can't figure out where I'm going wrong. Any clues will be much appreciated.

Load all appointments including all attendees for user

$
0
0
Hi,

I try to load all appointments including the attendees for an user. Here is how I try that:

1. SOAP-Request (AuthRequest)
<AuthRequest xmlns=""urn:zimbraAccount""> <account by=""name"">" + user + @"</account> <password>" + pass + @"</password> </AuthRequest>

2. SOAP-Request (SearchRequest)
<SearchRequest xmlns=""urn:zimbraMail"" calExpandInstStart="""" calExpandInstEnd="""" types=""appointment"" recip=""1""> <query>Item:all</query> </SearchRequest>

I get the correct appointments, but attendees are always missing.
What I am doing wrong? Does anybody know a solution?

Best regards
Nicole Plattner

Where Zimbra tags are stored?

$
0
0
Hello,

I need to create the same tag (name, color) for all users of some group.
For current session this can be done via CreateTagRequest SOAP request.

Most probably I have to develop server side extension (for SOAP service).

But I can't find where those tags are located? (mysql/ldap)

UC for Mitel technology

$
0
0
HI.

We are looking to test and perhaps migrate to Zimbra in the near future. From what I read the open source edition does not support this? But we have a strong development team. Will we be given the option to integrate Mitel for UC on the open source edition?

I would appreciate any guidance.

Many thanks,
R

SOAP appointements request

$
0
0
Hi,

I want to get all appointments with SOAP in php. I test with SearchRequest service but even I set all types "conversation,message,contact,appointment,task,wik i,document" the response contains only the messages. How to get appointments? Is it necessary to active something in admin interface?

exemple of request : "<ns1:SearchRequest calExpandInstStart="1356994800" calExpandInstEnd="1385852400" types="conversation,message,contact,appointment,ta sk,wiki,document"></ns1:SearchRequest>

Thanks in advance.

Cédric

Zimbra 8 Chat history

$
0
0
Hi,
1)I want to know how zimbra 8 store chat history for the external client.
2Name of the soap request that put chat logs in chat folder.


I am struggling on this from 3 days.

Thanks & Regards
Akash Pise

zimbraAutoProvListenerClass

$
0
0
I'm implementing a new Zimbra based email service at work, and we're moving away from exim/dovecot with an ancient OpenLDAP to Zimbra 8 with Windows 2012 Active Directory. I've worked out most of the problems with auto-provisioning and am waiting for a bug report to be looked at (zimbra formats the timestamp incorrecly and active directory doesn't return results once a timestamp is introduced)

I'm looking for an existing implementation of the zimbraAutoProvListenerClass, or pointers on what I need to work on one myself.

Collin

Zimbra OSE 7 Adding university logo to the default login screen

$
0
0
Hello Guys

As my subject explains. I dont want to remove any thing but add my university logo to the default login screen in zimbra. Can I do it as per OSE terms?


Regards.

How to schedule a long time operation in Zimbra 8

$
0
0
Hi all,

I have to update an Zimbra 6 extension (server side) which was developed few years ago to Zimbra 8. This extension uses com.zimbra.cs.operation.Operation and com.zimbra.cs.operation.Requester classes, because this task may take some time to execute.

In Zimbra 8 there's no more Operation nor Requester classes ! And I was unable to find them even in another package.

So now my question: How can I schedule a long time operation in Zimbra 8 as I did in Zimbra 6 ?

Thanks for your anwer.
Eric

Zimbra 8 REST API

$
0
0
Looks like the REST API has changed slightly in Zimbra 8 from previous versions, and I haven't been able to track down the correct documentation. The docs at /opt/zimbra/docs/rest.txt aren't pointing me to the answer.

I'm trying to view existing emails via a RESTful URL. This will let our CRM system store a link to that URL and allow our people to call up the email sent to the client. The documentation in rest.txt implies that I can view the email through http://server/home/[~]{account-name}/?id={item-id} (ie http://server/home/joe.smith/?id=520). This does work, but it gives me a bug-ugly text-based email (see attachment) that won't fly with my co-workers.

I can get a nicely formatted email by using https://server/h/message?id=520. However, if I try to insert the username into the URL, I get a 404 error. How can I view a particular email for a particular user via link?

Thanks,
Kathy A.
Attached Files

Where do we download Zimbra Open source edition and modify its source codes?

$
0
0
Hi,

Can someone share with me where do we go to download it? We can't seems to find it on the website.

Add Logo to WebClient Page Access

$
0
0
Hello,
I want to add an logo to web page to access of webclient. This is possible? Not change the Zimbra Logo, add an logo more. Thanks

How to Remove "Remove all attachments" in message zimbra 8.0

$
0
0
Hello
My company use zimbra 8.0. It good.
But i want remove message zimbra 8.0. I search google and read document zimbra not found.
Please help me remove it.
Thanks zimbra.pngzimbra.png
Attached Images

Live tile notifications

$
0
0
Is there any support to adding live tile support for Zimbra Desktop? I enjoy the UI and functionality, but would like to see notifications of new email on my Windows8 Start Menu live tile as well.

Thank you.

Mitch

soap sendmsgrequest question

$
0
0
hi,

you have already post an sendmsgrequest to zimbra.. i've got an little problem with that..

first i post an authrequest and get the response of zimbra..

i extract the auth token and the chance token and put it into my sendmsgrequest, but zimbra gave me error 500.. want i'm doing wrong?

if i use changepasswordrequest - it works.. so i think my sendmsgrequest is wrong?!

here ist want i post:

<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
<soap:Header>
<context xmlns="urn:zimbra">
<change token=" (changetoken from authresponse) "/>
<authToken> (auth token from authresponse) </authToken>
<nosession/>
</context>
</soap:Header>
<soap:Body>
<SendMsgRequest xmlns="urn:zimbraMail">
<m>
<e t="t" a="(email-adress)" p="(name)"/>
<e t="f" a="(email-adress)" d="(name)"/>
<su>TestEmail</su>
<mp ct="text/plain">
<content>Mal Gucken ob es funktioniert!</content>
</mp>
</m>
</SendMsgRequest>
</soap:Body>
</soap:Envelope>

thank's for helping!!

Obtaining unread message count

$
0
0
Hi,
I was using zimbra 5. In that the code below was working fine to get unread msg count of inbox using soap request. In response I was getting the "folder". Once i updated Zimbra to 7.2.4 the code below return the auth token but it is not returning the "folder".


Request:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Header>
<c:context xmlns:c="urn:zimbra"/>
</soapenv:Header>
<soapenv:Body>
<ar:AuthRequest xmlns:ar="urn:zimbraAccount">
<account by="name">abc@def.org</account>
<preauth expires="0" timestamp="3242342">xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxx</preauth>
</ar:AuthRequest>
</soapenv:Body>
</soapenv:Envelope>

Authenticate Zimbra through a session

$
0
0
Hello Everyone.

The company where I work is going to use Zimbra.
We've got a very important site developed in PHP.

So what we want is to make a login page(in php), that authenticates the user through Zimbra LDAP.
Then save theses information in a session, put a anchor to Zimbra.
After this when the users click on ZIMBRA link, authenticate the user with the session that the login page had created.

Is this possible? if yes, Where can I found some documentation to do it.

I am not sure if I make myself clear, if not please tell me so


Thanks

Problem with translated *.properties files

$
0
0
Hi all,

I have tried to translate *.properties files in order to change the Zimbra's language to greek. I copied translated files to their appropriate folder. Before that i have stored the original files to a new "backup" folder. after that i used native2ascii to convert them as i should.
My problem is that when i try to use the web client i only see strange characters. It is obviously an encoding problem.

If someone had the same problem and solved it, in any language files, please share your solution!!!

Any help would be appreciated.
Attached Images
Viewing all 286 articles
Browse latest View live


Latest Images