---
id: object/codeunit/6753
type: object
title: Codeunit 6753 "Send Reminder Event Handler"
summary: Codeunit 6753 "Send Reminder Event Handler" in Base Application (Microsoft.Sales.Reminder). 4 public procedures, 1 events, 8 event subscribers. Introduced in BC24, still in BC30, changed in BC27.
tier: official
language: en
tags:
  - codeunit
  - base application
versions:
  introduced: "24"
  last_changed: "27"
  deprecated: null
review:
  state: derived
  by: null
  at: null
  flags: []
generated:
  at: "2026-10-11T00:31:51.816Z"
  pipeline: 0.2.0
  prompts: {}
  input_hash: 2b541d1867111055530a678469c0ea22a44c7b25aae916f5d69c88e65742b231
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Sales/Reminder/Automation/Actions/SendReminders/SendReminderEventHandler.Codeunit.al
    title: src/Layers/W1/BaseApp/Sales/Reminder/Automation/Actions/SendReminders/SendReminderEventHandler.Codeunit.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
object_type: codeunit
object_id: 6753
name: Send Reminder Event Handler
namespace: Microsoft.Sales.Reminder
app: Base Application
extends: null
first_version: "24"
last_version: "30"
present_in:
  - "24"
  - "25"
  - "26"
  - "27"
  - "28"
  - "29"
  - "30"
changed_in:
  - "27"
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids: []
counts:
  fields: 0
  procedures: 16
  events: 1
  subscribers: 8
relations:
  out: 0
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
  calls: 7
  called_by: 1
  implements: 0
---

# Codeunit 6753 "Send Reminder Event Handler"

> Codeunit 6753 "Send Reminder Event Handler" in Base Application (Microsoft.Sales.Reminder). 4 public procedures, 1 events, 8 event subscribers. Introduced in BC24, still in BC30, changed in BC27.

Base Application · Microsoft.Sales.Reminder · BC24-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Sales/Reminder/Automation/Actions/SendReminders/SendReminderEventHandler.Codeunit.al) · facts from BC29

## Events published

- `OnAttachRelatedDocumentsBeforeEmailFileInternalOnAfterAttachRelatedDocument(var TempEmailItem: Record "Email Item" temporary; var PostedDocNo: Code[20]; SendRemindersSetup: Record "Send Reminders Setup"; SourceTableID: Integer; SourceRelationID: Integer; SourceID: Guid; ReportUsage: Integer)` (integration)

## Event subscriptions

- HandleSendReminderSafe subscribes to Codeunit "Send Reminder Action Job" OnSendReminderSafe
- UpdateAfterEmailSendFailed subscribes to Codeunit "Email" OnAfterEmailSendFailed
- DeleteFailedEmailsBeforeSendingEmail subscribes to Codeunit "Document-Mailing" OnBeforeSendEmail
- UpdateStatusAfterEmailSent subscribes to Codeunit "Document-Mailing" OnAfterEmailSent
- UpdateStatusWhenReminderIsSend subscribes to Codeunit "Reminder-Send" OnAfterSendReminder
- HandleGetSendToCustomerDirectly subscribes to Table "Report Selections" OnGetSendToCustomerDirectly
- HandleOnGetReportParameters subscribes to Table "Issued Reminder Header" OnGetReportParameters
- AttachRelatedDocumentsBeforeEmailFileInternal subscribes to Codeunit "Document-Mailing" OnBeforeEmailItemPreparation

## Procedures

- `SetGlobalReminderAction(ReminderAction: Record "Reminder Action")` (internal)
- `GetEmailsSent(): List of [Text]`: Retrieves the list of issued reminder numbers that were successfully emailed.
- `GetEmailsFailed(): List of [Text]`: Retrieves the list of issued reminder numbers that failed to send via email.
- `UpdateStatusAfterRun()`: Updates the action log status and summary after the reminder sending process completes.

Plus 3 local procedures.

## Calls

From the extracted call graph of BC29 (graphify-al on the snapshot checkout): calls whose target is known from a declared type or an `Object::"Name"` argument. Interface dispatch and calls through events are not counted, so the list is not complete.

- [Codeunit 6751 "Reminder Action Progress"](../codeunit/6751.md) (4 calls: `SetGlobalReminderAction → GetLastEntryForGroup`, `UpdateStatusAfterRun → CreateNewActionEntry`, `UpdateStatusAfterRun → GetLastActionEntry`, …)
- [Codeunit 545 "Send Reminder"](../codeunit/545.md) (2 calls: `DeleteFailedEmailsBeforeSendingEmail → DeleteFailedOutboxMessageIfExists`, `UpdateStatusAfterEmailSent → SetFailedOutboxMessageID`)
- [Codeunit 6752 "Reminder Automation Log Errors"](../codeunit/6752.md) (2 calls: `SetGlobalReminderAction → Initialize`, `UpdateStatusAfterEmailSent → LogLastError`)
- [Codeunit 6762 "Reminder-Send"](../codeunit/6762.md) (2 calls: `HandleSendReminderSafe → (object)`, `HandleSendReminderSafe → Set`)
- [Codeunit 260 "Document-Mailing"](../codeunit/260.md) (1 call: `AttachDocument → GetAttachmentFileName`)
- [Codeunit 4100 "Temp Blob"](../codeunit/4100.md) (1 call: `AttachDocument → CreateInStream`)
- [Codeunit 452 "Report Distribution Management"](../codeunit/452.md) (1 call: `AttachDocument → GetFullDocumentTypeText`)

## Called by

- [Codeunit 6754 "Send Reminder Action Job"](../codeunit/6754.md) (2 calls: `SendReminders → SetGlobalReminderAction`, `SendReminders → UpdateStatusAfterRun`)

## Across versions

- Present in: BC24-30
- Changed (declaration) in: BC27

Source: AL metadata extracted from the code (names, ids, signatures, properties); no code bodies (D10).

## Ask your agent

Procedure bodies are not stored here (D10). The call sections above are our own, per object, from the BC29 call graph. For a procedure body or the calls of one procedure, ask bc-code-atlas (external, by Stefan Maron, MIT; default corpus w1-28), which the bc-observatory plugin connects: `bcatlas_resolve_node(object_type: "codeunit", object_name: "Send Reminder Event Handler")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
