{"title":"Codeunit 134107 Library - Email Mock, extension points 29","url":"https://jonas-paprotka.de/ref/codeunit/134107-library-email-mock/points/","author":"JOP-AL","license":"Metadata from Microsoft's symbol packages. AL source MIT, Copyright (c) Microsoft Corporation. Selection and wording © 2026 JOP-AL. https://jonas-paprotka.de/licenses/","subject":"Microsoft Dynamics 365 Business Central","checked":"2026-11-20","changed":"2026-10-05","object":{"type":"codeunit","id":134107,"name":"Library - Email Mock","app":"System Application Test Library","url":"https://jonas-paprotka.de/ref/codeunit/134107-library-email-mock/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/codeunit/134107-library-email-mock/source/","path":"src/System Application/Test Library/Email/src/LibraryEmailMock.Codeunit.al","commit":"4303e5e584d3aa5d9e98cbc615525a5396ad6ed7","lines":"a line is <source url>#L<line>"},"steps":{"event":"[line, \"event\", name, handled]: raises an event of this object; handled 1 when it has an IsHandled parameter","call":"[line, \"call\", name, arguments]: calls a procedure of this object","ext":"[line, \"ext\", type, id, name, arguments]: calls a procedure of another object, through a variable declared with that type","write":"[line, \"write\", table id, method, 1 when called with true]: Insert, Modify, ModifyAll, Delete, DeleteAll or Rename","validate":"[line, \"validate\", table id, field name]","run":"[line, \"run\", type, id]: Codeunit.Run, Page.Run, Report.Run and their kin"},"objects":{"codeunit:134688":{"name":"Connector Mock","url":"https://jonas-paprotka.de/ref/codeunit/134688-connector-mock/"},"table:8888":{"name":"Email Outbox","url":"https://jonas-paprotka.de/ref/table/8888-email-outbox/"},"codeunit:8888":{"name":"Email Dispatcher","url":"https://jonas-paprotka.de/ref/codeunit/8888-email-dispatcher/"},"table:8901":{"name":"Email Error","url":"https://jonas-paprotka.de/ref/table/8901-email-error/"}},"procs":[{"name":"AddAccount","line":18,"kind":"procedure","params":2,"steps":[[22,"ext","codeunit",134688,"AddAccount",2]]},{"name":"SetupEmailOutbox","line":69,"kind":"procedure","params":6,"steps":[[76,"validate",8888,"Message Id"],[77,"write",8888,"Insert"],[78,"validate",8888,"Connector"],[79,"validate",8888,"Account Id"],[80,"validate",8888,"Description"],[81,"validate",8888,"User Security Id"],[82,"validate",8888,"Send From"],[83,"write",8888,"Modify"]]},{"name":"RunEmailDispatcher","line":86,"kind":"procedure","params":1,"steps":[[92,"run","codeunit",8888]]},{"name":"CleanEmailErrors","line":95,"kind":"procedure","params":0,"steps":[[99,"write",8901,"DeleteAll"]]}]}