Results 1 to 3 of 3

Thread: How I set External email in sent by

  1. #1
    Join Date
    Oct 2008
    Location
    Thailand
    Posts
    65
    Rep Power
    7

    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.

  2. #2
    Join Date
    Oct 2008
    Location
    Thailand
    Posts
    65
    Rep Power
    7

    Default

    I think I can get external account from
    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

  3. #3
    Join Date
    Oct 2008
    Location
    Thailand
    Posts
    65
    Rep Power
    7

    Default I can set it

    I know how I set this
    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()
    }

Similar Threads

  1. upgrade to 4.0.3 antispam does'nt work
    By lucanannipieri in forum Administrators
    Replies: 14
    Last Post: 11-07-2006, 03:56 AM
  2. Replies: 1
    Last Post: 09-10-2005, 10:47 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •