Results 1 to 6 of 6

Thread: colored email per domain

  1. #1
    Join Date
    Aug 2008
    Posts
    5
    Rep Power
    7

    Default colored email per domain

    I installed coloredemail zimlet an it's really cool; it would be nice to be able to set a color not only for individual email address but also for generic domain (e.g. *@acme.com) so that all email address of that domain get the same color

  2. #2
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    25

    Default

    Welcome to the forums

    Feel free to expand the tar archive and modify it to your preference.

  3. #3
    Join Date
    Jan 2009
    Posts
    369
    Rep Power
    6

    Default

    that's a good idea. will you develope that function? I'll wait to use your product

  4. #4
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    25

    Default

    I meant why not yourself give it a go you can then feed it back to the community

  5. #5
    Join Date
    Aug 2008
    Posts
    5
    Rep Power
    7

    Default

    I'm not a javascript expert expecially about zimlets, but I can try; it would be nice if someone could put me in the right direction

  6. #6
    Join Date
    Aug 2008
    Posts
    5
    Rep Power
    7

    Default

    I did it ! at line 187 insert the following lines and that's it:

    Code:
            // if not found a specific address try to search for the domain (including @)
            var emlparts = eml.split("@");
            var colors = this._cEmail_manualAddedEmailsArray["@" + emlparts[1]];
            if (colors) {
                    return colors;
            }
    To let the user know it's possible to use domain, at line 305 change the line with:

    Code:
            html[i++] = "<TR><TD width='24%'>Email, domain (with @) or Tag name:</TD>";
    I hope this could be helpful to others.

Similar Threads

  1. Replies: 3
    Last Post: 01-15-2010, 05:33 AM
  2. [SOLVED] Zimbra not receiving email after fresh install
    By no1youknowz in forum Administrators
    Replies: 3
    Last Post: 06-22-2009, 05:14 AM
  3. Resricting email to domain
    By abhiz in forum Administrators
    Replies: 1
    Last Post: 12-17-2008, 12:44 AM
  4. Replies: 4
    Last Post: 02-13-2008, 05:22 PM
  5. system email being sent to wrong domain
    By Dirk in forum Installation
    Replies: 19
    Last Post: 03-21-2007, 07:16 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
  •