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-17-2009, 10:39 PM
Senior Member
 
Posts: 65
Default How I set External email in sent by

I want to create Zimlet to set external account.
I have 2 questions. please let me no about answer.

1 . I want to get email of external account
How I get it.(I want example code)

2. I want to know how I set that email in "Account:" field.

Thank you for answer.
Reply With Quote
  #2 (permalink)  
Old 05-19-2009, 02:51 AM
Senior Member
 
Posts: 65
Default

I think I can get external account from
Quote:
var identityCollection = appCtxt.getIdentityCollection();
var identities = identityCollection.getIdentities();
but I not know how I set account I want to use .
I saw this this line

this.identitySelect.setSelectedValue(params.identi ty.id);

but I cannat use "this"

How I do
Please tell me
Thank you
Reply With Quote
  #3 (permalink)  
Old 05-21-2009, 01:20 AM
Senior Member
 
Posts: 65
Default I can set it

I know how I set this
Quote:
var tempCompose = AjxDispatcher.run("GetComposeController");
tempCompose._composeView.identitySelect.setSelecte dValue(id_of_external);
if (appCtxt.get(ZmSetting.SIGNATURES_ENABLED)) {
tempCompose._composeView._controller.setSelectedSi gnature(signature_id || "");
tempCompose._composeView.reset()
}
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.