send-emails
Installation
SKILL.md
Send Emails in ABP
ABP's emailing system sends content through the provider-independent IEmailSender; MailKit is the recommended SMTP provider. Producing the body (from a template) is a separate concern — the render-text-templates skill — and a common flow is to render a body then send it here.
All APIs below are from Volo.Abp.Emailing (+ Volo.Abp.MailKit).
When to Use
- Sending HTML/plain email through
IEmailSender, including afrom, CC, and attachments. - Rendering a body then sending it (e.g.
StandardEmailTemplates.Message). - Switching the underlying SMTP sender to MailKit.
- Queuing email through the background job system to avoid blocking the request.
When Not to Use
- Defining and rendering the template body (
TemplateDefinitionProvider,ITemplateRenderer, Scriban/Razor, layouts) — use the render-text-templates skill. - SMS — use the send-sms skill. Push / in-app notifications are out of scope (there is no ABP-framework notification skill here).
- General background job configuration — use the background-jobs-and-events skill (this skill only calls
QueueAsync). - Managing SMTP credentials as encrypted settings — use the manage-settings-and-features skill.