File tree Expand file tree Collapse file tree
OrchardCoreContrib.Email.Gmail
OrchardCoreContrib.Email.Hotmail
OrchardCoreContrib.Email.SendGrid
OrchardCoreContrib.Email.Yahoo Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44using Microsoft . Extensions . Options ;
55using OrchardCore . Admin ;
66using OrchardCore . DisplayManagement . Handlers ;
7- using OrchardCore . Email ;
87using OrchardCore . Modules ;
98using OrchardCore . Mvc . Core . Utilities ;
109using OrchardCore . Navigation ;
@@ -35,7 +34,7 @@ public override void ConfigureServices(IServiceCollection services)
3534 services . AddScoped < INavigationProvider , AdminMenu > ( ) ;
3635
3736 services . AddTransient < IConfigureOptions < GmailSettings > , GmailSettingsConfiguration > ( ) ;
38- services . AddScoped < ISmtpService , GmailService > ( ) ;
37+ services . AddScoped < IEmailService , GmailService > ( ) ;
3938 }
4039
4140 /// <inheritdoc/>
Original file line number Diff line number Diff line change 44using Microsoft . Extensions . Options ;
55using OrchardCore . Admin ;
66using OrchardCore . DisplayManagement . Handlers ;
7- using OrchardCore . Email ;
87using OrchardCore . Modules ;
98using OrchardCore . Mvc . Core . Utilities ;
109using OrchardCore . Navigation ;
@@ -35,7 +34,7 @@ public override void ConfigureServices(IServiceCollection services)
3534 services . AddScoped < INavigationProvider , AdminMenu > ( ) ;
3635
3736 services . AddTransient < IConfigureOptions < HotmailSettings > , HotmailSettingsConfiguration > ( ) ;
38- services . AddScoped < ISmtpService , HotmailService > ( ) ;
37+ services . AddScoped < IEmailService , HotmailService > ( ) ;
3938 }
4039
4140 /// <inheritdoc/>
Original file line number Diff line number Diff line change 44using Microsoft . Extensions . Options ;
55using OrchardCore . Admin ;
66using OrchardCore . DisplayManagement . Handlers ;
7- using OrchardCore . Email ;
87using OrchardCore . Modules ;
98using OrchardCore . Mvc . Core . Utilities ;
109using OrchardCore . Navigation ;
@@ -35,7 +34,7 @@ public override void ConfigureServices(IServiceCollection services)
3534 services . AddScoped < INavigationProvider , AdminMenu > ( ) ;
3635
3736 services . AddTransient < IConfigureOptions < SendGridSettings > , SendGridSettingsConfiguration > ( ) ;
38- services . AddScoped < ISmtpService , SendGridService > ( ) ;
37+ services . AddScoped < IEmailService , SendGridService > ( ) ;
3938 }
4039
4140 /// <inheritdoc/>
Original file line number Diff line number Diff line change 44using Microsoft . Extensions . Options ;
55using OrchardCore . Admin ;
66using OrchardCore . DisplayManagement . Handlers ;
7- using OrchardCore . Email ;
87using OrchardCore . Modules ;
98using OrchardCore . Mvc . Core . Utilities ;
109using OrchardCore . Navigation ;
@@ -35,7 +34,7 @@ public override void ConfigureServices(IServiceCollection services)
3534 services . AddScoped < INavigationProvider , AdminMenu > ( ) ;
3635
3736 services . AddTransient < IConfigureOptions < YahooSettings > , YahooSettingsConfiguration > ( ) ;
38- services . AddScoped < ISmtpService , YahooService > ( ) ;
37+ services . AddScoped < IEmailService , YahooService > ( ) ;
3938 }
4039
4140 /// <inheritdoc/>
You can’t perform that action at this time.
0 commit comments