Login to follow
MailClient

MailClient (ODC)

Stable version 0.3.0 (Compatible with ODC)
Uploaded on 20 Mar (2 weeks ago) by OutSystems Labs
MailClient

MailClient (ODC)

Documentation
0.3.0

The library exposes the following actions:

  • GetMails: used to get emails from a generic provider
  • GetSingleMail: used to get a single email using the IMAP protocol
  • GetFolders: used to get the first level folders on the mail server

GetMails accept the following parameters:

  • Protocol: IMAP or POP3
  • MailServer: the address of the server
  • port: the port number used to communicate with the server
  • SSL: true/false
  • username
  • password
  • folder: the server folder to read from (default: inbox)
  • IsAllOrUnsee: if set to true, the component will retrieve all the messages. If false, only the non read messages are downloaded
  • includeAttachments: if set to true, the component will try to download all the attachments of the emails

GetMails return a list of the Message structure, together with the list of attachments.


GetSingleMail returns an email message based on its UID.

It accepts the following parameters:

  • Protocol: IMAP or POP3
  • MailServer: the address of the server
  • port: the port number used to communicate with the server
  • SSL: true/false
  • username
  • password
  • uid: the message's UID
  • folder: the name of the folder containing the message