Codeunit 134704 Test Email Connector v4
Source AL, 129 lines
src/System Application/Test Library/Email/src/TestEmailConnectorv4.Codeunit.allines 10 to 25 of 129, Copyright (c) Microsoft Corporation. MIT
codeunit 134704 "Test Email Connector v4" implements "Email Connector v4"{ SingleInstance = true; var TempEmailInbox: Record "Email Inbox" temporary; ConnectorMock: Codeunit "Connector Mock"; procedure Send(EmailMessage: Codeunit "Email Message"; AccountId: Guid) begin ConnectorMock.SetEmailMessageID(EmailMessage.GetId()); Commit(); if ConnectorMock.FailOnSend() then Error('Failed to send email'); end;Public procedures 12 in 29
| Send | new in 27 |
| Get | new in 27 |
| Show | new in 27 |
| Register | new in 27 |
| Delete | new in 27 |
| Get | new in 27 |