Skip to content

Commit 457f5c5

Browse files
authored
Updated RequiredPropertyIsEmptyFormat to be more clear (#242)
1 parent 82ecf29 commit 457f5c5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/NLog.MailKit/MailTarget.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ public class MailTarget : TargetWithLayoutHeaderAndFooter
8585
private static readonly Encoding DefaultEncoding = System.Text.Encoding.UTF8;
8686
private const SecureSocketOptions DefaultSecureSocketOption = SecureSocketOptions.StartTlsWhenAvailable;
8787

88-
private const string RequiredPropertyIsEmptyFormat = "After the processing of the MailTarget's '{0}' property it appears to be empty. The email message will not be sent.";
88+
private const string RequiredPropertyIsEmptyFormat = "MailTarget '{0}'-property appears to be empty. The email message cannot be sent.";
8989

9090
/// <summary>
9191
/// Initializes a new instance of the <see cref="MailTarget" /> class.

0 commit comments

Comments
 (0)