src/Fursvp.Communication/SuppressAndLogEmailer.cs
/// <summary>
/// Suppresses an email and logs it instead.
/// </summary>
/// <param name="email">The email to suppress and log.</param>
Suppresses an email and logs it instead.
Suppresses an email and logs it instead .
public void Send(Email email)
        {
            if (email == null)
            {
                throw new ArgumentNullException(nameof(email));
            }
            Console.WriteLine($@"[{nameof(SuppressAndLogEmailer)} suppressed message] {email.Subject}
From:   {email.From.Address} ({email.From.Name})
To:     {email.To.Address} ({email.To.Name})
{email.PlainTextContent}
");
        }
public void Send ( Email email ) { if ( email == null ) { throw new ArgumentNullException ( nameof ( email ) ) ; } Console . WriteLine ( $@" [ { nameof ( SuppressAndLogEmailer ) }  suppressed message]  { email . Subject } 
From:    { email . From . Address }  ( { email . From . Name } )
To:      { email . To . Address }  ( { email . To . Name } )
 { email . PlainTextContent } " ) ; }
Suppresses an email and logs it instead.
Suppresses an email and logs it instead .
email
Email
The email to suppress and log.
The email to suppress and log .