BlackBerry Forums Support Community

BlackBerry Forums Support Community (
-   Developer Forum (
-   -   recognizing mailto (

Kilminster 04-14-2008 01:57 AM

recognizing mailto
Hi there. I' just registered here because we are running an application for a bank and are now supposed to deliver certain results to users with blackberry devices.
Problem is: We are trying to offer an Email based way to retrieve press articles from a server in the bank intranet. Inside an Email the blackberry we have for testing does recognize something like and opens the dialogue for a new mail.

It does NOT however recognize something likeÖSOGDH

The body will simply contain a key to identify documents on the internal server.

Now I found two threads in here with problems recognizing mailto but both were closed without an answer. Hopefully there is someone around who knows.

simon.hain 04-14-2008 02:40 AM

you could implement your own string detection. look out for an '@' and analyze the string around it.

Kilminster 04-14-2008 02:42 AM

I think there is a mistake. I do NOT want to reprogram the Blackberry Mail client. I know perfectly well how the mailto-link is composed since I am the one composing it. What I would like to know is how I get the Blackberry mail client to recognize it as a mailto as well.

anand.bhat 04-21-2008 04:54 PM

I do not remember the model of the BlackBerry that I'd tried this on last year, but 'complex' mailto links like the one you posted DID show up as links.

I had a ensure a couple of things: no encoding of the @ symbol ( will NOT render as a link even though other mail clients recognize and convert %40 to a @) while text in the subject and body had to be encoded. In your case, I'd think the problem might be with the Ö symbol.

Try typing into your BlackBerry to see if it "linkifies" it. If yes, then try replacing the Ö symbol with its UTF encoded value %C3%96 in the body text and type in If this works too, try building similar encoded strings for the body before creating the link. My Java program used's encode method with UTF8.

Hope you get lucky with this, it can be quite a pain. I hope the HTML email rendering functionality promised in the new release has better mailto recognition.

FYI, a section of my mailto link looks something like this:

mailto:yz@abc.efg?subject=Approval%20needed&body=% 5B%3ABEnter%20your%20comments... with an identifying key similar to yours.

Kilminster 04-22-2008 01:19 AM

Well I have to see. The "Ö" was in my post because I simply hit any key my fingers could reach to get a couple of letters. The actual ID we're sending is in the 0 to 128 Range of the ASCII set to avoid exactly that kind of problem. But I guess I'll be trying it step by step to see where the problems start.

Kilminster 05-07-2008 02:17 AM

OK, I have tried everything.
I tried tbody
as well as 0testbody

in the mail, (and the unmasked blanks here come from the forum software. They were not in my original mail nor in the text I typed here)

I attatched a tiny html-file test.htm looking like this:

<a href=" estbody"> Testmail </a>

The result was always the same. The blackberry recognizes the e-mail adress but it simply refuses to recognize anything else. I always get a new e-mail adressed at [email address] but neither subject nor body show any sign of what I had in the link.

Is the blackberry actually that limited??? or is there a secret way to make it act normally?

All times are GMT -5. The time now is 07:52 AM.

Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.