Skip to content

Commit

Permalink
Merge f699566 into d318cf2
Browse files Browse the repository at this point in the history
  • Loading branch information
dlidstrom authored Jan 5, 2024
2 parents d318cf2 + f699566 commit 24459ff
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Snittlistan.Web/Commands/HandleMailCommandHandler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ await CompositionRoot.Databases.Snittlistan.KeyValueProperties
email.From,
email.To,
email.Bcc,
email.Subject,
email.Subject.Substring(0, Math.Min(100, email.Subject.Length)),
state));
Logger.InfoFormat("sending email {@email}", email);
await CompositionRoot.EmailService.SendAsync(email);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@

#nullable enable

using System.Web.Mvc;
using Castle.MicroKernel.Registration;
using Castle.MicroKernel.SubSystems.Configuration;
using Castle.Windsor;
using Postal;

#nullable enable

namespace Snittlistan.Web.Infrastructure.Installers;

public class EmailServiceInstaller : IWindsorInstaller
{
private readonly string viewsPath;
Expand Down

0 comments on commit 24459ff

Please sign in to comment.