Expand | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
|
POP3 component microservice is used to connect to a mail server/News server and retrieve emails/news articles using the POP3/IMAP/NNTP protocol. It uses the JavaMail API.
The component POP3 supports these the below functions:
- Retrieve emails/news articles from the mail/news server.
- Fetch the email/news count on the mail/news server.
- Verify signature, decrypt mail and MDN.
Configuration
Managed Connection Factory
The following properties that can be configured in the Managed Connection Properties Factory panel of CPS are explained the sections below.
Figure 1: Managed Connection Factory Panel of POP3
General attributes
...
- POP3 – POP3 protocol is used to retrieve emails. The property Folder to pick mails property is not visible if this value is selected.
- IMAP – IMAP protocol is used to retrieve emails. The property Folder to pick mails property is visible if this value is selected.
- NNTP – NNTP protocol is used to retrieve news articles. The property Newsgroup to pick news articles property is visible if this value is selected.
- MailserverURL – Specifies the URL at which the mail server is hosted.
...
URL of the mail server.
MailServer Port
Specifies Specify the port number on which the mail server accepts POP3/IMAP/NNTP connections. The default port number for NNTP is 119 and IMAP is 143.
...
Additional properties which can be used for creating connection can be specified here. For instance, to enable debug in Javamail set in Javamail, set a property 'mail.debug' to 'true'.For example, to retrive
Info | ||
---|---|---|
| ||
To retrieve mails from gmail, |
...
|
...
|
...
|
...
|
Infotip | ||
---|---|---|
| ||
For the properties which are supported by
|
Authentication Configuration
...