Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Zimlets

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 05-05-2010, 10:02 AM
Junior Member
 
Posts: 8
Smile Using Zimlet to open mail message window in text mode

Hi guy !

Due to some of the email message in not display correctly in html mode,
I am looking for a zimlet function which can able to open email window in text mode(just click a toolbar icon to popup new window in text mode).

I did many search and still can't find any hints to do it...

All I can found is open a compose window as below :

Code:
// Tries to open the compose view on its own.
var composeController = AjxDispatcher.run("GetComposeController");
if(composeController) {
	var appCtxt = window.top.appCtxt;
	var zmApp = appCtxt.getApp();
	var newWindow = zmApp != null ? (zmApp._inNewWindow ? true : false) : true;
	var params = {action:ZmOperation.NEW_MESSAGE, inNewWindow:newWindow, 
	toOverride:null, subjOverride:null, extraBodyText:null, callback:null}
	composeController.doAction(params); // opens asynchronously the window.
	this.displayStatusMessage("Trying to open a new message dialog. Please wait ...");
}

Anyone can give me a hand on which function in zimlet can open(popup) email window in text mode ? Many thanks for your help
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.