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

Setting up Zimbra in netbeans or eclipse

$
0
0
Hi All,

I am new to zimbra. I dont have any idea how to setup zimbra on netbeans or eclipse.

I want to customize zimbra like changing login process, adding audit tracking functionality etc.

Can anyone guide me how to setup on netbeans or eclipse?


Thanks

Zimbra perforce server down

$
0
0
Perforce client is timed out, "telnet codes.zimbra.com 2666" also timed out. I checked this from several places, no firewall blocks.

When it will be available?

Trying to send Access 2010 Database Object Via Zimbra

$
0
0
I would like to send a database object via Zimbra. I have changed my registry to open Zimbra whenever I utilize a hyperlink, so if I could just get it to reference my default mail client, that would be perfect. But the SendEmail command only works with MAPI and I'm having a hard time trying to find out what the code would be to send cmd.SendObject with Zimbra. (It isn't possible for everyone in our company to have Zimbra Desktop on their machines, so I have to stick to the webmail version.)

Any help would be GREATLY appreciated. I do realize this is kind of an Access question but I'm looking for solutions wherever I can. Thanks again for any help in advance.

Some question about zimbra nginx internals

$
0
0
Hello.

What is zmroute_type in upstream_zmauth nginx module? { rest, activesync, caldav, authtoken }. How this affects nginx behavior when it routes user to appropriate zimbra mailbox server?

Custom authentication

$
0
0
Hello,

I am developing an extension using custom authentication. This custom authentication require to contact external server. I test it and it works fine. But when I check the fallback option, the behavior is not what I expected! So, I have two question:

1- When the authentication fallback come in action?
a. When the external server is down or unreachable.
b. If the user enter invalid password.
c. Both (a) and (b).

2- If the answer is (c) and I think so, how can I make the fallback only when the server is down or unreachable ?

Help with AdminCreateWaitSet

$
0
0
My goal is to query changes made to appointments in real-time. I am trying to feed notifications to a third party system. So far, my plan has been to issue AdminCreateWaitSet, and then poll for new updates (changes) with AdminWaitSet. All seems to be working well, with ID's being returned as data changes. So, here is my problem, where is the data? I am getting an ID returned with AdminWaitSet, but I do not what additional call I can make to get a list of the data that has changed. Can anyone tell me how to retrieve the data that has changed? Example: New appointments, changes to appointments, etc. Should I even be using WaitSets? Is there some other way. I am communicating with Zimbra via SOAP calls from PHP, it that helps.

Thanks in advance,

Tim J.

saving drafts/messages in specific folders

$
0
0
Hello All,

I'm new in Zimbra/Zimlet and I need a little help in my first development :p

Some suggestions would be appreciated with:
- I succesfully moved a draft message in another forlder when saving it, but I can't do this with new messages (message id is not "present" yet). How can I retrieve this id? - or how can I move new messages in some other directories when they are saved as drafts? Do I strictly have to use SOAP calls? :confused:
- Is it possible to dinamically (into the code) change the active identity that is creating/saving draft or new messages?

I searched a lot in some examples and in API documentation, but I didn't found useful hints.


Thanks in advance!

New Font installation in zimbra web client

$
0
0
Dear Friend,

please help us to install new fonts in zimbra web email client 8

MS-WOPI to Office Web Apps for editing Zimbra Briefcase documents.

$
0
0
Has anyone tossed around the feasibility of integrating usage of MS Office Web Apps Server with Zimbra through the MS-WOPI protocol for editing and viewing documents in the browser with the office web suite? Either as a zimlet or even integrated into the Zimbra suite. It would seem to me that this functionality would be really great for use editing Briefcase documents in a browser while retaining the formatting and functionality (such as track changes) of using Microsoft's office suite. The current Zimbra web apps for editing documents and excel files is really limited and (as typical with using non-MS products) can really mess up formatting in a file. This might also be a great way to get around all the problems associated with trying to connect MS Windows and MS Office via webdav for editing documents in Briefcase. I haven't been able to make it work in years. Also, it could allow Mac users to edit MS document formats accurately, and in a web browser.

I am not a developer, so don't really know how feasible this is. But if anyone has a thoughts, I'd be interested to hear them.


WOPI Docs:
[MS-WOPI]: Web Application Open Platform Interface Protocol

Zimbra SOAP API request appointments for a calendar including repeat time interval

$
0
0
I have Googled extensively and tried mining the Zimbra webmail front end for requests and responses to the Zimbra SOAP API but I can't find how to do the following:
- request all appointments for a calendar using XML (the request below is in JSON and returns XML, would be nice to be able to make the request in XML)
- for repeating appointments, obtain the repeating time interval

Below is an example of how it is done with JSON request (except that the JSON response does not appear to include the repeating time interval for repeating appointments).
The request below requests all appointments (between 1/1/1970 and 1/1/2114 = Unix dates 0 to 4544208000000 in MSEC) for the Calendar with ID=10.
The response (in XML) has 2 appointments, the first is a single appointment, the second is a daily repeating appointment but none of the properties seem to indicate the repeating time interval.

Request URL: http://www.MyZimbraServer.com/service/soap/BatchRequest

Request:

{ "Body" : { "BatchRequest" : { "SearchRequest" : { "_jsns" : "urn:zimbraMail",
"calExpandInstEnd" : 4544208000000,
"calExpandInstStart" : 0,
"limit" : "500",
"locale" : { "_content" : "en_AU" },
"offset" : 0,
"query" : { "_content" : "inid:10" },
"sortBy" : "none",
"types" : "appointment"
},
"_jsns" : "urn:zimbra",
"onerror" : "continue"
} },
"Header" : { "context" : { "_jsns" : "urn:zimbra",
"account" : { "_content" : "ASample@account.com",
"by" : "name"
},
"authToken" : "A_valid_authToken_goes_here",
"format" : { "type" : "xml" },
"sessionId" : { "_content" : 14630204,
"id" : 14630204
},
"userAgent" : { "name" : "ZimbraWebClient",
"version" : "5.0"
}
} }
}

Response (content of <BatchResponse> only shown):

<BatchResponse xmlns="urn:zimbra">
<SearchResponse xmlns="urn:zimbraMail" more="0" sortBy="none" offset="0">
<appt alarm="1" loc="In the office" transp="O" fb="B" id="327" rev="804" isOrg="1" fba="B" score="1.0" t="" compNum="0" name="Subject for a single appointment" s="0" d="1375942257000" ms="900" md="1376003780" class="PUB" uid="e21505b9-c64a-42e0-abe6-07010f44f458" ptst="AC" status="CONF" cm="1" l="10" dur="3600000" sf="" f="" x_uid="e21505b9-c64a-42e0-abe6-07010f44f458" invId="327-326">
<or d="Joe Bloggs" a="ASample@account.com" url="ASample@account.com" />
<fr>These are notes for my single appointment</fr>
</appt>
<appt alarm="1" loc="On the beach" transp="O" fb="B" recur="1" id="338" rev="811" isOrg="1" fba="B" score="1.0" t="" compNum="0" name="Subject for a daily repeating appointment" s="0" d="1375944660000" ms="1004" md="1376011270" class="PUB" uid="921dc981-c9a6-4f11-9617-ccad3328c144" ptst="AC" cm="1" status="CONF" l="10" dur="3600000" sf="" f="" x_uid="921dc981-c9a6-4f11-9617-ccad3328c144" invId="338-337">
<or d="Joe Bloggs" a="ASample@account.com" url="ASample@account.com" />
<fr>These are notes for my repeating appointment</fr>
</appt>
</SearchResponse>
</BatchResponse>

readonly messages

$
0
0
Hello All,

my question is very simple: is it possible to make readonly an email message?

What we want to achieve is do not allow the users to modify in any way the emails that have been tagged in a specific way.

Thanks
Roberto

How do I get it ?

$
0
0
It might be a recurrent topic, but I can't get it

i have downloaded p4 from Perforce Downloads | Perforce

export P4PORT=codes.zimbra.com:2666

p4 -u public -P public1234 -c public-view sync -f //depot/zcs/IRONMAIDEN
//depot/zcs/IRONMAIDEN - no such file(s).


any tip ? :confused:

shared tags or other kind of "marks"

$
0
0
Hello All,

is it possible to share a Tag with other Zimbra accounts? I've read the end-user documentation and seems not :(

My goal is: given a shared folder accessible to many users, I would like to "flag/tag/mark/..." a message in this folder in order to let other users know that this message has been treated for some stuff by someone else. Of couse I do not want to use the already-available "red flag", or I could use this with another color at least.

Any suggestion on how to achieve it?

Thanks
Roberto

Where to put a properties file for custom JAR?

$
0
0
My Zimlet is finally working nicely; now it's time to spruce it up. Basically, it's a (Javascript) Zimlet that makes a few Ajax calls to JSP pages, that in turn call Java code that accesses an external database and also calls a RESTful API. To help our IT department with maintaining the thing, I'd like to put the database info (user name, passwords, table names, URLs, etc) in a properties file instead of hard coding. The thing is, I have no idea where to put the properties file. Do I zip it into the zimlet and let Zimbra handle things? Put it somewhere in the Jetty directory? Something else?

Thanks,

Zimbra REST API & Pagination

$
0
0
I also posted the following question also on stackoverflow at Zimbra REST API & Pagination - Stack Overflow

The Zimbra wiki states that the url for getting a folder has the following structure:

Code:

http://localhost:7070/home/john.doe/{folder-name}?{params}
So if I wanted to retrieve the inbox in rss format I would look in:

The question is:

How Do I achieve pagination with the above url format. Stated otherwise, how would the calls for messages 1 to 10 and 11 to 20 look like?

HTML Editor - "content initialized" callback (add content to messages when edited)

$
0
0
Hello Gents

we're developing a Zimlet that needs to do some stuff on the email message body when a draft is loaded into the HTML editor.

What we would need is some kind of callbak that is called when the editor has just finished to load... somewhat like the "ZmHtmlEditor.prototype._onContentInitialized" function.

We saw there's a callback here, "_onContentInitializeCallback", but seems that this function is used internally for other purposes.

We also tried to accomplish our needings overriding the "ZmComposeController.prototype._setView" function, adding some code at the end of this.
This is working fine with Chrome and IE, but seems there's a problem with Firefox related to the "enableDesignMode" function.

In the end, what's the best way to add some content (in our case, the default signature of the logged user) to a draft, when this is opened for editing by the user?

We are using Zimbra 7.2.2.

Thanks in advance for any help.
Roberto

Mail DwtListView custom

$
0
0
I am trying to create a zimlet that adds some custom buttons to the zimbra client.
Now one part of this is that we need to be able to see some custom status in the mail view.
This is the DwtListView in the mail tab. Simply the received messages tab.
Just like the Tags column we need to add a column to this view.
Is this possible using normal extentions or do we need to change Zimbra core for this?

Disable Login page to allow PreAuth Only

$
0
0
I'm using Zimbra Preauth to implement SSO with Liferay portal. Everything works fine.
Now i want to disable Zimbra's webmail login page, (maybe redirect to liferay SSO URL etc).

How can i do that?

Batch Event changes Calendar?

$
0
0
Hi,

I am considering making a zimlet that when modifying an event in a calendar using a particular resource that IF that resource is in use after that event and the change to the first event would cause a resource conflict with the later event that it would AUTOMATICALLY push the second event later and that would cascade for the rest of the day.

Is a zimlet the right way to approach it?

Thanks!

need macros to send email from zimbra

$
0
0
I want a macros which can send a email from email client base and i'm using Zimbra, that means not from outlook, and email should be send in html format that is color and font should remain the same which i have in excel, it should pick up the range for eg: c1 to q56 it should copy paste and send it ...
File attached for your reference..

Below is the macros which i'm trying, but does not work properly

Sub CDO_Send_Selection_Or_Range_Body()
Dim rng As Range
Dim iMsg As Object
Dim iConf As Object
' Dim Flds As Variant

Set iMsg = CreateObject("CDO.Message")
Set iConf = CreateObject("CDO.Configuration")

' iConf.Load -1 ' CDO Source Defaults
' Set Flds = iConf.Fields
' With Flds
' .Item("http://schemas.microsoft.com/cdo/configuration/sendusing") = 2
' .Item("http://schemas.microsoft.com/cdo/configuration/smtpserver") = "Fill in your SMTP server here"
' .Item("http://schemas.microsoft.com/cdo/configuration/smtpserverport") = 25
' .Update
' End With


Set rng = Sheets("Hourly").Range("c1:q71").SpecialCells(xlCe llTypeVisible)
Set rng = ActiveSheet.Range("c1:q71")
Set rng = Sheets("hourly").Range("c1:q71")
On Error Resume Next

Set rng = Sheets("Hourly").Range("c1:q71").Selection.Special Cells(xlCellTypeVisible)

On Error GoTo 0

If rng Is Nothing Then
MsgBox "The selection is not a range or the sheet is protected" & _
vbNewLine & "please correct and try again.", vbOKOnly
Exit Sub
End If

With Application
.EnableEvents = False
.ScreenUpdating = False
End With

With iMsg
Set .Configuration = iConf
.To = "ababulal@lesterinc.com"
.CC = ""
.BCC = ""
.From = """Ashfaq"" <ababulal@lesterinc.com>"
.Subject = "This is a test"
.HTMLBody = Range("c1:q71")
.Send
End With

With Application
.EnableEvents = True
.ScreenUpdating = True
End With

End Sub

Any help will be appreciated
Thanks,
Ashfaq Sayed.
Viewing all 286 articles
Browse latest View live