📅  最后修改于: 2022-03-11 14:57:16.380000             🧑  作者: Mango
procedure SendEmail()
var
Email: Codeunit Email;
EmailMessage: Codeunit "Email Message";
begin
EmailMessage.Create('dan@dankinsella.blog', 'My Subject', 'My message body text');
Email.Send(EmailMessage, Enum::"Email Scenario"::"Dan Test 1 DDK");
end;