Compare commits
No commits in common. "8e3f793e4e9577bb4d3c4c2a3e2f7b3629db4dfb" and "e4130c29ba483cbad2b88f187cc4c34f492bdeb2" have entirely different histories.
8e3f793e4e
...
e4130c29ba
|
@ -1,7 +1,7 @@
|
|||
<Project>
|
||||
<Import Project="dependencies.props" />
|
||||
<PropertyGroup>
|
||||
<Version>1.0.1</Version>
|
||||
<Version>1.0.0</Version>
|
||||
<Authors>Tudor Stanciu</Authors>
|
||||
<Company>STA</Company>
|
||||
<PackageTags>Correo</PackageTags>
|
||||
|
|
|
@ -11,9 +11,9 @@ namespace Correo.Abstractions.Extensions
|
|||
public static string Log(this EmailMessage message)
|
||||
{
|
||||
var msg = $"Email sent: Subject: {message.Subject}; From: {message.From.Address}; To: {message.To.Log()};";
|
||||
if (message.Cc != null && message.Cc.Any())
|
||||
if (message.Cc != null)
|
||||
msg += $" Cc: {message.Cc.Log()};";
|
||||
if (message.Bcc != null && message.Bcc.Any())
|
||||
if (message.Bcc != null)
|
||||
msg += $" Bcc: {message.Bcc.Log()};";
|
||||
return msg;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue