Extension plug-ins for email message processing
Extension plug-ins for processing messages
You can add extension plug-ins to a BlackBerry® Messaging Agent. The BlackBerry Messaging Agent uses extension plug-ins to process and make changes to email messages and attachments that the BlackBerry Messaging Agent sends to and receives from BlackBerry devices. For example, you can add an extension plug-in to modify the signature in email messages.
Before you add an extension plug-in to the BlackBerry Administration Service, you must install the extension plug-in application on the computer the hosts the BlackBerry® Enterprise Server. By default, each BlackBerry Messaging Agent in your organization's BlackBerry Domain includes the extension plug-in BBAttachBESExtension, which connects the BlackBerry Messaging Agent to the BlackBerry Attachment Service so that the BlackBerry Attachment Service can process email message attachments. If you add multiple extension plug-ins to a BlackBerry Messaging Agent, you can define the order that the BlackBerry Messaging Agent uses the extension plug-ins to process email messages in.
Install an extension plug-in application
- On the computer that hosts the BlackBerry Enterprise Server, on the Start menu, click Run.
- Type regedit.
- Click OK.
- Perform one of the following actions:
- If you are running a 32-bit version of Windows®, navigate to HKEY_LOCAL_MACHINE\Software\Research In Motion\BlackBerry Enterprise Server\Agents.
- If you are running a 64-bit version of Windows, navigate to HKEY_LOCAL_MACHINE\Software\WOW6432Node\Research In Motion\BlackBerry Enterprise Server\Agents.
- If necessary, create a DWORD value named PlugIns.
- Double-click the PlugIns DWORD value.
- In the Value data field, type Name=<DLL_Name> Data=<DLL_Path>, where <DLL_Name> is a descriptive name of the .dll file and <DLL_Path> is the full path and file name for the .dll file.
- Click OK.
- Restart the BlackBerry Enterprise Server.
- Add the extension plug-in to a BlackBerry Messaging Agent.
Add an extension plug-in to a BlackBerry Messaging Agent
- In the BlackBerry Administration Service, on the Servers and components menu, expand BlackBerry Solution topology > BlackBerry Domain > Component view > Email.
- Click the instance that you want to change.
- Click Edit instance.
- On the Extension plug-ins tab, in the Extension plug-in name field, type the name of the extension plug-in that you want to add.
- Click the Add icon.
- Repeat steps 4 and 5 for each extension plug-in that you want to add.
- If necessary, click the Up and Down icons to set the order that the BlackBerry Messaging Agent uses the extension plug-ins to process email messages in.
- Click Save all.
Change how a BlackBerry Messaging Agent uses extension plug-ins
- In the BlackBerry Administration Service, on the Servers and components menu, expand BlackBerry Solution topology > BlackBerry Domain > Component view > Email.
- Click the instance that you want to change.
- Click Edit instance.
- On the Extension plug-ins tab, in the Extension mode section, in the Extension mode drop-down list, perform one of the following actions:
- To configure the BlackBerry Controller to start a single extension process that loads all extension plug-ins for all BlackBerry Messaging Agent instances, click single.
- To configure the BlackBerry Controller to start a dedicated extension process for each BlackBerry Messaging Agent instance, click perAgent.
- To configure the BlackBerry Controller to start a dedicated extension process that loads each extension plug-in, click perExtension. Each BlackBerry Messaging Agent uses the same extension process to process a specific extension plug-in.
- To configure the BlackBerry Controller to start a dedicated extension process for each extension plug-in for each BlackBerry Messaging Agent, click perAgentperExtension.
- Click Save all.