BlackBerry Forums Support Community
              

Closed Thread
 
Thread Tools
Old 04-14-2008, 01:57 AM   #1
Kilminster
New Member
 
Join Date: Apr 2008
Model: 7100
PIN: N/A
Carrier: T-online
Posts: 4
Default recognizing mailto

Please Login to Remove!

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

mailto:ernst.fritsch@sds-bs.de and opens the dialogue for a new mail.

It does NOT however recognize something like

mailto:ernst.fritsch@sds-bs.de?subject=_GetDok&body=jsdhfsodfhSOGDH

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.
Offline  
Old 04-14-2008, 02:40 AM   #2
simon.hain
CrackBerry Addict
 
Join Date: Apr 2005
Location: hamburg, germany
Model: 8900
Carrier: o2
Posts: 838
Default

you could implement your own string detection. look out for an '@' and analyze the string around it.
__________________
java developer, Devinto, hamburg/germany
Offline  
Old 04-14-2008, 02:42 AM   #3
Kilminster
New Member
 
Join Date: Apr 2008
Model: 7100
PIN: N/A
Carrier: T-online
Posts: 4
Default

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.
Offline  
Old 04-21-2008, 04:54 PM   #4
anand.bhat
New Member
 
Join Date: Apr 2008
Model: NA
PIN: N/A
Carrier: NA
Posts: 1
Default

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 (somebody%40somewhere.com 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 mailto:ernst.fritsch@sds-bs.de?subject=_GetDok 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 mailto:ernst.fritsch@sds-bs.de?subject=_GetDok&body=jsdhfsodfh%C3%96SOGDH. If this works too, try building similar encoded strings for the body before creating the link. My Java program used java.net.URLEncoder'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.

Last edited by anand.bhat; 04-21-2008 at 04:55 PM..
Offline  
Old 04-22-2008, 01:19 AM   #5
Kilminster
New Member
 
Join Date: Apr 2008
Model: 7100
PIN: N/A
Carrier: T-online
Posts: 4
Default

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.
Offline  
Old 05-07-2008, 02:17 AM   #6
Kilminster
New Member
 
Join Date: Apr 2008
Model: 7100
PIN: N/A
Carrier: T-online
Posts: 4
Default

OK, I have tried everything.
I tried
mailto:ernst.fritsch@sds-bs.de?subject=testsubject&body=this%20is%20a%20tes tbody
as well as
mailto:ernst.fritsch@sds-bs.de?subject=testsubject&body=this%20is%20a%2 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:

<html>
<body>
<a href="mailto:ernst.fritsch@sds-bs.de?subject=testsubject&body=das%20ist%20ein%20t estbody"> Testmail </a>
</body>
</html>

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?

Last edited by Kilminster; 05-07-2008 at 02:19 AM..
Offline  
Closed Thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


NEW OEM Battery A1466 A1369 A1496 A1405 A1377 A1466 for MacBook Air 13 inch picture

NEW OEM Battery A1466 A1369 A1496 A1405 A1377 A1466 for MacBook Air 13 inch

$31.90



A1618 NEW OEM Battery for MacBook Pro 15

A1618 NEW OEM Battery for MacBook Pro 15" Retina A1398 Mid 2015 020-00079

$43.90



Lot of OEM APPLE iPAD LCD And White Front Glass Replacement 6091l-1402C picture

Lot of OEM APPLE iPAD LCD And White Front Glass Replacement 6091l-1402C

$17.99



Genuine A1417 OEM Battery Apple Macbook Pro 15 Retina A1398 Mid 2012 Early 2013 picture

Genuine A1417 OEM Battery Apple Macbook Pro 15 Retina A1398 Mid 2012 Early 2013

$40.90



NEW OEM A1618 Battery for Apple MacBook Pro 15” Retina 99.5Wh A1398 Mid 2015 picture

NEW OEM A1618 Battery for Apple MacBook Pro 15” Retina 99.5Wh A1398 Mid 2015

$43.90



Genuine OEM A1417 Battery For Apple Macbook Pro 15

Genuine OEM A1417 Battery For Apple Macbook Pro 15" Retina A1398 2012 2013 NEW

$40.90







Copyright 2004-2016 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.