Results 1 to 6 of 6

Thread: colored email per domain

  1. #1
    geminformatica is offline Junior Member
    Join Date
    Aug 2008
    Posts
    5
    Rep Power
    6

    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
    uxbod's Avatar
    uxbod is offline Moderator
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    24

    Default

    Welcome to the forums

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

  3. #3
    dalmate is offline Elite Member
    Join Date
    Jan 2009
    Posts
    364
    Rep Power
    6

    Default

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

  4. #4
    uxbod's Avatar
    uxbod is offline Moderator
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    24

    Default

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

  5. #5
    geminformatica is offline Junior Member
    Join Date
    Aug 2008
    Posts
    5
    Rep Power
    6

    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
    geminformatica is offline Junior Member
    Join Date
    Aug 2008
    Posts
    5
    Rep Power
    6

    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.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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, 04: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, 06: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
  •