Codeunit 134682 Test Email Connector v2
Source AL, 94 lines
src/System Application/Test Library/Email/src/TestEmailConnectorv2.Codeunit.allines 12 to 27 of 94, Copyright (c) Microsoft Corporation. MIT
codeunit 134682 "Test Email Connector v2" implements "Email Connector v2"#pragma warning restore AL0432{ var 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; procedure GetAccounts(var Accounts: Record "Email Account")Public procedures 10 in 29
| Send | new in 25 |
| Get | new in 25 |
| Show | new in 25 |
| Register | new in 25 |
| Delete | new in 25 |
| Get | new in 25 |