Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Administrators

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 12-12-2008, 02:41 PM
Senior Member
 
Posts: 73
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
Reply With Quote
  #2 (permalink)  
Old 12-12-2008, 04:25 PM
Moderator
 
Posts: 6,237
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 07:42 PM..
Reply With Quote
  #3 (permalink)  
Old 12-12-2008, 04:38 PM
Senior Member
 
Posts: 73
Default

Thanks for the info Mike! I have voted for, and will follow those bugs.
Reply With Quote
  #4 (permalink)  
Old 06-23-2009, 09:02 PM
Partner (VAR/HSP)
 
Posts: 67
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
Reply With Quote
  #5 (permalink)  
Old 07-12-2011, 10:52 PM
PhD PhD is offline
Senior Member
 
Posts: 62
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..
Reply With Quote
  #6 (permalink)  
Old 04-20-2012, 09:26 AM
Starter Member
 
Posts: 2
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.
Reply With Quote
  #7 (permalink)  
Old 04-20-2012, 09:37 AM
PhD PhD is offline
Senior Member
 
Posts: 62
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
Reply With Quote
  #8 (permalink)  
Old 04-20-2012, 12:51 PM
Starter Member
 
Posts: 2
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.
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.