Codeunit 5917 Process Service Email Queue

Base Application, Microsoft.Service.Email

Source AL, 47 lines

src/Layers/W1/BaseApp/Service/Email/ProcessServiceEmailQueue.Codeunit.allines 8 to 23 of 47, Copyright (c) Microsoft Corporation. MIT

codeunit 5917 "Process Service Email Queue"{    TableNo = "Job Queue Entry";    trigger OnRun()    var        ServEmailQueue: Record "Service Email Queue";        ServEmailQueue2: Record "Service Email Queue";        ServMailMgt: Codeunit ServMailManagement;        RecRef: RecordRef;        Success: Boolean;    begin        if RecRef.Get(Rec."Record ID to Process") then begin            RecRef.SetTable(ServEmailQueue);            if not ServEmailQueue.Find() then                exit;

All 47 lines