Configuring the POP adapter
The validity of installed certificates is checked once every 24 hours. The first check is conducted 24 hours after enabling the adapter. BMC recommends that you do not include unused elements in the adapter configuration because they might cause errors.
Adapter type: ro-adapter-pop_vv.rr.nn
To configure the POP mail adapter, see Configuring base adapters.
The following table describes the adapter configuration elements for the POP mail adapter that you can specify by using the form view, XML view, or both. You cannot use the form view to configure elements and attributes that do not have an entry in the "UI label" column.
Configuration node elements for the POP mail adapter
The following figures show XML templates of the adapter configuration for the POP adapter for a single target.
XML template one of the POP adapter configuration for a single target
<target></target>
<port></port>
<user-name></user-name>
<password encryption-type=""></password>
<character-set></character-set>
<javamail-debug></javamail-debug>
<email-address></email-address>
<protocol>pop3</protocol>
<refresh></refresh>
<mail-timeout></mail-timeout>
<connection-timeout></connection-timeout>
<disable-auth-login></disable-auth-login>
<disable-auth-plain></disable-auth-plain>
<delete-after-read></delete-after-read>
<max-messages-per-connection></max-messages-per-connection>
<create-subdirectory></create-subdirectory>
<ignore-attachments></ignore-attachments>
<attachment-download-directory></attachment-download-directory>
<attachment-overwrite-existing></attachment-overwrite-existing>
<attachment-ttl></attachment-ttl>
<max-attachment-size></max-attachment-size>
<max-pool-threads></max-pool-threads>
<delete-attachments-on-exit></delete-attachments-on-exit>
<disk-cleanup-interval></disk-cleanup-interval>
<file-name-filter>
<file-name></file-name>
</file-name-filter>
<file-type-filter>
<file-type></file-type>
</file-type-filter>
<use-ssl-certificate></use-ssl-certificate>
<allow-unsigned-certificate></allow-unsigned-certificate>
<install-certificate></install-certificate>
<passphrase></passphrase>
<preferred-bodypart-text-format>plain</preferred-bodypart-text-format>
</config>
XML template two of the POP adapter configuration for a single target
<config>
..........................
</config>
</configs>
The following figure shows an XML sample of the POP adapter configuration for a single target.
XML sample of the POP adapter configuration for a single target
<target>pop.gawab.com</target>s
<port>110</port>
<user-name>testname</user-name>
<password encryption-type="Plain">aa</password>
<character-set>UTF-8</character-set>
<javamail-debug>false</javamail-debug>
<email-address>aa@gawab.com</email-address>
<protocol>pop3</protocol>
<refresh>10</refresh>
<mail-timeout/>
<connection-timeout>60</connection-timeout>
<disable-auth-login>false</disable-auth-login>
<disable-auth-plain>false</disable-auth-plain>
<delete-after-read>false</delete-after-read>
<max-messages-per-connection>20000</max-messages-per-connection>
</config>
The following figure shows an XML sample of the POP adapter configuration for multiple targets.
XML sample of the POP adapter configuration for multiple targets
<config name="config1">
<target>secure.runbox.com</target>
<port>995</port>
<user-name>sample_name</user-name>
<password>sample_password</password>
<javamail-debug>false</javamail-debug>
<email-address>sample_name@runbox.com</email-address>
<protocol>pop3</protocol>
<refresh>20</refresh>
<mail-timeout>10</mail-timeout>
<connection-timeout>30</connection-timeout>
<disable-auth-login>false</disable-auth-login>
<disable-auth-plain>false</disable-auth-plain>
<delete-after-read>false</delete-after-read>
<max-messages-per-connection>10</max-messages-per-connection>
<ignore-attachments>false</ignore-attachments>
<create-subdirectory>true</create-subdirectory>
<attachment-download-directory>C:\\DownloadAttachments\</attachment-download-directory>
<attachment-overwrite-existing>true</attachment-overwrite-existing>
<attachment-ttl>1d</attachment-ttl>
<max-attachment-size>5</max-attachment-size>
<max-pool-threads>3</max-pool-threads>
<delete-attachments-on-exit>false</delete-attachments-on-exit>
<disk-cleanup-interval>10m</disk-cleanup-interval>
<file-name-filter>
<file-name>a*</file-name>
</file-name-filter>
<file-type-filter>
<file-type>pdf</file-type>
</file-type-filter>
<use-ssl-certificate>true</use-ssl-certificate>
<allow-unsigned-certificate>true</allow-unsigned-certificate>
<install-certificate>false</install-certificate>
<passphrase>changeit</passphrase>
</config>
<config name="config2">
<target>pop.runbox.com</target>
<port>110</port>
<user-name>sample_name</user-name>
<password>sample_password</password>
<javamail-debug>false</javamail-debug>
<email-address>sample_name@runbox.com</email-address>
<protocol>pop3</protocol>
<refresh>20</refresh>
<mail-timeout>10</mail-timeout>
<connection-timeout>30</connection-timeout>
<disable-auth-login>false</disable-auth-login>
<disable-auth-plain>false</disable-auth-plain>
<delete-after-read>false</delete-after-read>
<max-messages-per-connection>10</max-messages-per-connection>
<ignore-attachments>false</ignore-attachments>
<create-subdirectory>true</create-subdirectory>
<attachment-download-directory>C:\\DownloadAttachments\</attachment-download-directory>
<attachment-overwrite-existing>true</attachment-overwrite-existing>
<attachment-ttl>1d</attachment-ttl>
<max-attachment-size>5</max-attachment-size>
<max-pool-threads>3</max-pool-threads>
<delete-attachments-on-exit>false</delete-attachments-on-exit>
<disk-cleanup-interval>10m</disk-cleanup-interval>
<file-name-filter>
<file-name>a*</file-name>
</file-name-filter>
<file-type-filter>
<file-type>pdf</file-type>
</file-type-filter>
<use-ssl-certificate>false</use-ssl-certificate>
<allow-unsigned-certificate>false</allow-unsigned-certificate>
<install-certificate>false</install-certificate>
<passphrase>changeit</passphrase>
</config>
</configs>
The following figure shows an XML sample of the POP adapter configuration with attachment download settings.
XML sample of the POP adapter configuration with attachment download settings
<target>pop.runbox.com</target>
<user-name>user1</user-name>
<password encryption-type="Plain">1234</password>
<refresh>20</refresh>
<protocol>pop3</protocol>
<email-address>user1@runbox.com</email-address>
<ignore-attachments>false</ignore-attachments>
<attachment-download-directory>${CDPMachineTempDir}
</attachment-download-directory>
<max-attachment-size>1</max-attachment-size>
</config>