Skip to content

Commit

Permalink
Use new MailAttachment class for MailProvider
Browse files Browse the repository at this point in the history
In order to support multiple mail providers, this introduces a new
MailAttachment class for use by the MailProvider API. This decoupling from
System.Net.Mail.Attachment will give more flexibility when implementing new
providers, such as MailKit.
  • Loading branch information
meetmandeep authored and bdukes committed Oct 13, 2020
1 parent 89ea159 commit b3e066f
Show file tree
Hide file tree
Showing 5 changed files with 351 additions and 226 deletions.
1 change: 1 addition & 0 deletions DNN Platform/Library/DotNetNuke.Library.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -823,6 +823,7 @@
<Compile Include="Services\Log\EventLog\ILogController.cs" />
<Compile Include="Services\Mail\CoreMailProvider.cs" />
<Compile Include="Services\Mail\MailInfo.cs" />
<Compile Include="Services\Mail\MailAttachment.cs" />
<Compile Include="Services\Mail\MailProvider.cs" />
<Compile Include="Services\Mail\SmtpInfo.cs" />
<Compile Include="Services\OutputCache\Providers\DatabaseProvider.cs" />
Expand Down
Loading

0 comments on commit b3e066f

Please sign in to comment.