Table of Contents

Interface "Email Connector v3"

Namespace: System.Email
Obsolete

This element will become obsolete from version 28.0. Replaced by "Email Connector v4" which adds the capability for retrieving email folders.

An e-mail connector interface enhances the "Email Connector" with reading, replying to e-mails and marking emails as read.

Methods

Reply

Obsolete

This element will become obsolete from version 28.0. Replaced by "Email Connector v4" which adds the capability for retrieving email folders.

Reply to an e-mail using the provided account.

procedure Reply(var EmailMessage: Codeunit "Email Message", AccountId: Guid)

Parameters

Name Type Description
EmailMessage Codeunit System.Email."Email Message"

The email message that is to be sent out.

AccountId Guid

The email account ID which is used to send out the email.

RetrieveEmails

Obsolete

This element will become obsolete from version 28.0. Replaced by "Email Connector v4" which adds the capability for retrieving email folders.

Read e-mails from the provided account.

procedure RetrieveEmails(AccountId: Guid, var EmailInbox: Record "Email Inbox", var Filters: Record "Email Retrieval Filters" temporary)

Parameters

Name Type Description
AccountId Guid

The email account ID which is used to send out the email.

EmailInbox Table System.Email."Email Inbox"

The email inbox record that will store the emails.

Filters Table System.Email."Email Retrieval Filters"

Filters to be used when retrieving emails.

MarkAsRead

Obsolete

This element will become obsolete from version 28.0. Replaced by "Email Connector v4" which adds the capability for retrieving email folders.

Mark an e-mail as read in the provided account.

procedure MarkAsRead(AccountId: Guid, ExternalId: Text)

Parameters

Name Type Description
AccountId Guid

The email account ID.

ExternalId Text

The external ID of the email.

See also