Skip to content

EmailManager

reference
1 min readUpdated

Kind: Controller

Source: Pams/Core/Pams.Core/Email/EmailManager.cs (line 20)

Part of: Pams

Where it refuses work

  • EmailManager stops the work with an early return when SendNoReplyMailWithLogo(tmpl, title, email, logoUri).
  • EmailManager stops the work with an early return when SendNoReplyMailWithLogo(tmpl, emailSubject, userEmail, logoUri).

When something fails

  • EmailManager handles failure in 12 places: it turns it into a return value in 6, lets it reach the caller in 4, and discards it silently in 2. A failure discarded silently leaves no trace for whoever debugs this later.

Relationships

  • MODULE_DECLARES → GetShortURL
  • IMPORTS → GlobalConfig

Used by

2 references from 2 files. Each is a place in this repository where the symbol is actually used — go read one rather than trusting an example.

Imported by (2)

  • PersonControllerPams/API/Pams.API/Controllers/Person/PersonController.cs:36
  • ApplicationUserManagerPams/Core/Pams.Security/Configuration/IdentityConfig.cs:47

Was this page helpful?

Download as PDF