Skip to content

Simplify the IMail interface #387

Closed
Closed
@Jericho

Description

@Jericho

Several methods currently on the IMail interface are what I call "convenience" methods: they address common scenarios like sending the same email to multiple recipients, sending a single email without using a template, sending a single email using a legacy template, sending a single email using a dynamic template, etc. and behind the scene they simply invoke the IMail.SendAsync method with the appropriate parameters for the given scenario.

These methods should be implemented as extension methods and only the SendAsync method should be on the IMail interface.

Metadata

Metadata

Assignees

Labels

Breaking ChangeThis change causes backward compatibility issue(s)

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions