Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add new email handler utility #536

Merged
merged 4 commits into from
Jul 11, 2024

Conversation

visagang
Copy link
Contributor

Add a new utility to send email using Simple Mail Transfer Protocol using MailKit SDK.

@@ -0,0 +1,12 @@
namespace BotSharp.Abstraction.Email.Settings
{
public class EmailPluginSettings
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should rename to EmailHandlerSettings

services.AddScoped(provider =>
{
var settingService = provider.GetRequiredService<ISettingService>();
return settingService.Bind<EmailPluginSettings>("EmailPlugin");
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Rename to EmailHandler

@Oceania2018 Oceania2018 merged commit c27acab into SciSharp:master Jul 11, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants