Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Error when sending a PIN message: MessagingExceptionPin message not sent. Do not have the permissions to send the message.

by Retired ‎02-16-2010 01:21 PM - edited ‎02-17-2010 04:04 PM (2,454 Views)

Summary


This article applies to BlackBerry® devices with BlackBerry Device Software 4.1.0.282 to 4.2.0.x installed.




Problem


When an application tries to send a PIN message using the Transport.send method, the following exception is thrown:



net.rim.blackberry.api.mail.MessagingExceptionPin message not sent. Do not have the permissions to send the message.


Cause 1


This error indicates that the sending of PIN messages has been blocked by an IT policy on the BlackBerry device user’s BlackBerry Enterprise Server.


Resolution


Modify the IT policy on the BlackBerry Enterprise Server. One of the following IT policy items may need to be changed:


  • Disable P2P Normal Send
  • Disable P2P Normal Send Default

Cause 2


BlackBerry devices that have BlackBerry Device Software later than 4.1.0.282 and before 4.2.1.0 installed may erroneously throw this exception.


Resolution


Upgrade to BlackBerry Device Software 4.2.1 or later.


OR


Toggle the IT policy setting that requires passwords to be enabled on a BlackBerry device. In some circumstances, changing the setting for this IT policy will allow applications to send PIN messages. This will not work in all cases, and may not be a desired workaround since BlackBerry device users may not enable passwords on their BlackBerry devices. The recommended resolution is to upgrade the BlackBerry Device Software.


The following table shows the IT policy setting that may allow a third-party application to send PIN messages.


BlackBerry Device Software Version  IT Policy Setting 
Prior to 4.1.0.281 PASSWORD_REQUIRED = true
4.1.0.281 to 4.2.0.x PASSWORD_REQUIRED = false

Note: This issue does not affect PIN messages sent from the BlackBerry Messages application.

Contributors
Users Online
Currently online: 28 members 1,748 guests
Please welcome our newest community members: