Process flow: Sending a message from a BlackBerry device

This process flow applies to new messages, reconciled messages (messages that a user moved, deleted, or marked as read or unread), and wireless calendar entries.
- A user sends a message from a BlackBerry® device.
The BlackBerry device assigns a RefId to the message. If the message is a meeting invitation or calendar entry, the BlackBerry device appends the calendar information to the message. The BlackBerry device compresses and encrypts the message, and sends the message to the wireless network over port 3101, or over port 4101 if the BlackBerry device is a Wi-Fi® enabled BlackBerry device that is connected to the enterprise Wi-Fi network.
- The wireless network sends the message to the BlackBerry® Enterprise Server.
The BlackBerry Enterprise Server accepts only encrypted messages from the BlackBerry device.
- The BlackBerry Dispatcher uses the device transport key of the BlackBerry device to decrypt and decompress the message.
If the BlackBerry Dispatcher cannot decrypt the message using the device transport key, the BlackBerry Enterprise Server ignores the message and sends an error message to the BlackBerry device.
- The BlackBerry Messaging Agent performs one of the following actions:
- If the message is new, the BlackBerry Messaging Agent creates an entry in the BlackBerry state database.
- If the message is a reply that includes the original text, or is a forwarded message, the BlackBerry Messaging Agent looks up the entry in the BlackBerry state database to correlate the incoming message to the original message in the user’s message file.
The BlackBerry state database contains a link to the original message. Since the BlackBerry Messaging Agent forwards only the first portion of a message to the BlackBerry device, the BlackBerry Messaging Agent must locate and retrieve the full message text to forward it or reply to it with the original text.
- The BlackBerry Messaging Agent sends the message to the mail.box for the IBM® Lotus Notes® router to send to the user's email application.
If the user is in the same IBM® Lotus® Domino® domain as the BlackBerry Enterprise Server, the BlackBerry Messaging Agent stores the message in the mail.box that is located on the BlackBerry Enterprise Server. If the user is in an IBM Lotus Domino domain separate from the BlackBerry Enterprise Server, the BlackBerry Messaging Agent stores the message in the mail.box that is located on the user’s messaging server.
- The BlackBerry Messaging Agent sends a copy of the message to the Sent view in the user’s mail file that is located on the messaging server.
- The messaging server delivers the message to the recipients.