Welcome to the Official BlackBerry® Support Community Forums. This is your resource to discuss support topics with your peers, and learn from each other. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

Web and WebWorks Development

Reply
New Developer
flein
Posts: 2
Registered: 11-02-2009

Encapsulate mailto functionnality - need help

Hi,

 

I need to put in place a validation of purchase order via blackberry. So there is a external application sending a mail to users having a blackberry, and the user need to validate by sending back a mail.

So I was thinking of using

mailto:adresse@domain.com?subject='test'&body='validated'

 

but within blackberry, when I click on the link I have a screen with "send mail to ..." where I need to validate, then the mail opens with data, and I need to click on "send mail".

Does anybody know if it is possible to encapsulate those last steps, so that when users clicks on the link, the mail is send automatically, and that he receives a confirmation?

 

Thanks for your help

 

Pascal

Please use plain text.
Developer
abarber
Posts: 188
Registered: 08-13-2008

Re: Encapsulate mailto functionnality - need help

Take a look at creating a widget.

http://docs.blackberry.com/en/developers/categories/?userType=21&category=BlackBerry+Widgets

 

You can use the

blackberry.message.Message Class

 to send.

 

Please use plain text.
New Developer
flein
Posts: 2
Registered: 11-02-2009

Re: Encapsulate mailto functionnality - need help

Hello,

 

Thanks a lot for your answer. After investigation, it seems that widgets runs only the latest version of black, which are not fully deployed in our company. Is there another way?

 

Best regards

 

Pascal

 

Please use plain text.