abpframework / abpframework/abp

Add more options while queueing emails

Open
#7,705 0 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

abp-framework feature priority:normal
Dominant language
C#
Stars
14.4k
Forks
3.7k
Avg merge
15h 32m
Merged PRs (30d)
106

Description

Queue methods currently not getting cc, bcc, attachments... etc:

https://github.com/abpframework/abp/blob/66ca4db0115a50a4eeeea76a1bf15c45894ec6fa/framework/src/Volo.Abp.Emailing/Volo/Abp/Emailing/IEmailSender.cs#L45-L64

Since MailMessage is not serializable, we can not get it as a parameter and use as a background job data. However, we may create a similar serializable class to support these scenarios.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with framework/src/Volo.Abp.Emailing/Volo/Abp/Emailing/IEmailSender.cs at the linked lines and inspect how queue methods pass background job data. Define a serializable email representation that supports options such as cc, bcc, and attachments without using MailMessage directly. Done means queueing emails can carry these additional options.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
api, backend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.