Skip to content

Commit

Permalink
truncate
Browse files Browse the repository at this point in the history
  • Loading branch information
dlidstrom committed Jan 5, 2024
1 parent d318cf2 commit f699566
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 f699566

Please sign in to comment.