Process flow: Sending a message that contains an attachment from a BlackBerry device

- A user attaches a file to a message on a BlackBerry® device and sends the message.
- If the BlackBerry device is not running BlackBerry® Device Software version 4.2 or later, and if the BlackBerry device does not have a CMIME service book that indicates that the BlackBerry® Enterprise Server supports attachment uploads, the Add Attachment menu item does not appear on the BlackBerry device.
- If the user tries to attach a file that exceeds the maximum file size that you specified, a notification appears and the user cannot attach the file.
The BlackBerry device compresses and encrypts the message, and sends the message to the wireless network over port 3101.
The BlackBerry device formats the header of the message to indicate that a large attachment is part of the message. The BlackBerry device does not send the attachment content.
The wireless network sends the message to the BlackBerry Enterprise Server.
- The BlackBerry Dispatcher decrypts and decompresses the message using the device transport key of the BlackBerry device.
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 stores the message properties in the user’s mailbox.
The BlackBerry Messaging Agent sends a request for the attachment content through the BlackBerry Dispatcher to the BlackBerry device.
- The BlackBerry device sends the attachment content through the BlackBerry Dispatcher to the BlackBerry Messaging Agent.
If the file size of the attachment content exceeds a single data packet, the BlackBerry device divides the content into multiple data packets and sends the data packets to the BlackBerry Messaging Agent.
The BlackBerry Messaging Agent verifies the validity of the attachment content, and stores the content in memory as the content arrives.
During the delivery of the attachment content, if the BlackBerry Messaging Agent does not receive content from the BlackBerry device for 15 minutes, the BlackBerry Messaging Agent cancels the message, deletes the partial attachment content from temporary storage, and sends an error message to the BlackBerry device.
After all of the attachment content arrives, the BlackBerry Messaging Agent checks for other attachments that might be part of the same message.The messaging server delivers the message to the intended recipients.