Interface "Email Connector v2"
Obsolete
This element will become obsolete from version 26.0. Replaced by "Email Connector v3" which adds filtering capability for retrieval of emails
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 26.0. Replaced by "Email Connector v3" which adds filtering capability for retrieval of emails
Reply to an e-mail using the provided account.
procedure Reply(var EmailMessage: Codeunit "Email Message", AccountId: Guid)
Parameters
Name | Type | Description |
---|---|---|
EmailMessage | 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 26.0. Replaced by "Email Connector v3" which adds filtering capability for retrieval of emails
Read e-mails from the provided account.
procedure RetrieveEmails(AccountId: Guid, var EmailInbox: Record "Email Inbox")
Parameters
Name | Type | Description |
---|---|---|
AccountId | Guid |
The email account ID which is used to send out the email. |
EmailInbox | Record "Email Inbox" |
The email inbox record that will store the emails. |
MarkAsRead
Obsolete
This element will become obsolete from version 26.0. Replaced by "Email Connector v3" which adds filtering capability for retrieval of emails
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. |