Results 1 to 8 of 8

Thread: Embed link with custom protocol

  1. #1
    vandehey is offline Senior Member
    Join Date
    Mar 2007
    Posts
    73
    Rep Power
    8

    Default Embed link with custom protocol

    Hi gang! Does anyone know how to embed a link into an HTML email, that is using a custom protocol? It looks like the built in link inserter will only format and deal with http://

    I would like to insert a link that has something other than http://. Like, how about inserting a link to an FTP server? ftp://servername.dom.com or something like that? When I do that and click in the link on Zimbra (5.0.9), it takes me to about:blank in firefox.

    This same email in Mail.app on OSX properly opens up firefox and takes me to the FTP login that was directed from the embedded link.

    Any suggestions?

    -Jeff

  2. #2
    mmorse's Avatar
    mmorse is offline Moderator
    Join Date
    May 2006
    Location
    USA
    Posts
    6,242
    Rep Power
    20

    Default

    For others using the ZWC you can just type ftp://server.domain.com and the com_zimbra_url Zimlet will recognize it/turn it into a link. Most other other providers do something similar - and for those that don't most know to enter it in their address bar.

    If you want to change the text shown so "linktype:// server.domain.com/address/path" becomes "Site Name" you could use the Notebook to do so, you can't always in the mail editor because: Bug 33333 - "Insert Link" assumes http:// prefix

    Also vote for: Bug 16386 - Raw HTML Source Editor in Mail Compose
    Last edited by mmorse; 12-12-2008 at 08:42 PM.

  3. #3
    vandehey is offline Senior Member
    Join Date
    Mar 2007
    Posts
    73
    Rep Power
    8

    Default

    Thanks for the info Mike! I have voted for, and will follow those bugs.

  4. #4
    dustys is offline Partner (VAR/HSP)
    Join Date
    Feb 2007
    Location
    Sioux Falls, SD
    Posts
    67
    Rep Power
    8

    Default

    Sounds as though we are try to do something similar, but I am running into an issue. I have modified /opt/zimbra/jetty/webapps/service/zimlet/com_zimbra_url/com_zimbra_url.xml to include our new handler.

    If we type the following into a message and send it:

    <handler>://<URL>

    It is parsed correctly, but if the URL is embedded in an HTML message, we receive an "about:blank" in the href value in FireFox:

    <a href="about:blank" target="_blank">Text</a>

    If you view the original message's text, the URL is correct in the HTML.

    Thoughts? If I run Zimbra though Firebug or Inspector in Safari, I find the regex changes I've made, but I also find references to the old regex.

    Any input would be appreciated.

    DJS
    CoSentry - www.cosentry.com - Co-Location & Business Resiliency Solutions

  5. #5
    PhD
    PhD is offline Senior Member
    Join Date
    Jun 2011
    Posts
    64
    Rep Power
    3

    Default

    id like to bump this...

    we have a custom url handler that we use in our company to load video files through an application called RV - and we use rvlink:// as the protocol handler

    we have just noticed now that switching to zimbra web, this url does not work for us anymore - when you hover the mouse over the text it shows as if there is a link there, but clicking on it does nothing.

    is there a way to add custom url handlers in zcs7 yet?

    ive added a bug report here: http://bugzilla.zimbra.com/show_bug.cgi?id=61949
    Last edited by PhD; 07-12-2011 at 11:41 PM.

  6. #6
    AndyRich is offline Starter Member
    Join Date
    Apr 2012
    Posts
    2
    Rep Power
    3

    Default

    Hello all, I'd like to know if anyone ever got a clear answer or fix for this as well? I'm having the exact same problem as PhD with using rvlink:// and would love to resolve this as soon as possible as it takes away some functionality of RV. Thank you.

  7. #7
    PhD
    PhD is offline Senior Member
    Join Date
    Jun 2011
    Posts
    64
    Rep Power
    3

    Default

    I Didn't get anywhere.. I raised a support ticket in bugzilla and in the support portal and basically was told that it was not going to happen. I was escalated to their engineers who never got back to me after months of constant prodding.. Its a real shame because we have to still run a hybrid of thunderbird and zweb/desktop because we cannot click rvlink hyperlinks for RV. I tried trawling thought the jetty code but it looks like it will have to be compiled in the java source to allow it. I'm disappointed that we weren't even offered a patch or anything, as a paying network edition customer why do we pay premium support for when we can't have things like this addressed?

    Maybe one day it might happen.. But been a year so far and nothing... I hope you may have better luck than I did

  8. #8
    AndyRich is offline Starter Member
    Join Date
    Apr 2012
    Posts
    2
    Rep Power
    3

    Default

    Oh wow, that is disappointing. Thank you for replying so quickly, at least I have an answer and I can try to work around it now. I had started to hack something else together, simply a http page that redirects to a rvlink but was hoping zimbra could fix it.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Can't upgrade to 5.0.10 FOSS
    By Mccreations2 in forum Installation
    Replies: 7
    Last Post: 07-24-2009, 07:02 AM
  2. Create a link while composing e-mail
    By tmadden in forum Users
    Replies: 4
    Last Post: 03-19-2008, 11:54 AM
  3. How to move backup to another drive
    By ghanedan in forum Administrators
    Replies: 1
    Last Post: 06-25-2007, 06:43 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
  •