Skip Ribbon Commands
Skip to main content
SharePoint

Creating a Connection to a Mail Server

To monitor specified mail accounts for messages and initiate processes based on the information obtained from the messages. Data items are mapped to parts of the email message.
 
Note:
Email Monitor Service (Plugin) Settings
By default, the Email Monitor service, which is part of the Process Engine, checks for messages once every 60 seconds. You can change this value by adding the sweepTimer attribute to the EmailMonitor plugin XML in the Bluespring.ProcessEngine.exe.Config file (C:\Program Files\Bluespring BPM 5\ProcessEngine) with a value greater than or less than 60.
<plugin name="EmailMonitor" type="Bluespring.EmailMonitor.EmailMonitorPlugin, Bluespring.EmailMonitor" sweepTimer="60" threads="1" queue="net.msmq://./private/EmailMonitor" />
Additionally, you can change the default timeout and number of new emails processed per call. For the timeout, add the mailboxTimeout attribute to the EmailMonitor plugin XML and set the value to the number of seconds to wait until timing out when checking for mail. The default is X seconds. And for the number emails to process, add the messagesPerSweep attribute to the plugin XML. By default, the monitor only processes 25 new emails per call.
<plugin name="EmailMonitor" type="Bluespring.EmailMonitor.EmailMonitorPlugin, Bluespring.EmailMonitor" sweepTimer="60" mailboxTimeout="60" messagesPerSweep="25" threads="1" queue="net.msmq://./private/EmailMonitor" />
 

  
To create a POP3 connection, complete the following steps:
  1. Check out the solution.
     
  2. Click the Create tab. The Solution Items ribbon is displayed.
     
  3. Click New Resource. A drop-down list is displayed.
     
  4. Select POP3 System Resource. The POP3 System Resource window is displayed.
     
  5. In the POP3 System Resource name field, type a name for the new POP3 resource.
     
  6. In the Mail Server field, type the server for the mail.
      
  7. In the Port Number field, enter the port number to the server.
       
  8. Click either Integrated Credentials or Define Credentials.
       
    Note:
    If you select Integrated Credentials, this option uses the Process Engine service account, which by default is the System Account. This account cannot access network resources.

    If you select Define Credentials, type the appropriate username, password, and domain, in the corresponding fields. The Password field is encrypted. After you save, check in, and close the document template. The credentials can be made dynamic by using values stored in data items.

      
  9. Click the Leave a copy of messages on the server check box if you want to keep two copies of the messages.
      
    Note:
    If you want to automatically remove mail from the server after a specified number of days, select the Remove from server check box and enter the desired amount of days.
Related Topics
Deleting a System Resource

Source
BPM Designer Topics > Overview of Solution Items and Solution Item Topics > System Resources
Last modified at 7/31/2020 11:24 AM