📜  电子邮件业务中心 - 任何代码示例

📅  最后修改于: 2022-03-11 14:57:16.380000             🧑  作者: Mango

代码示例1
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;