From 7cb71cd9e62a03c1d16610bb02a9e3f245836c7e Mon Sep 17 00:00:00 2001 From: Frank Schmid Date: Thu, 6 Nov 2025 13:37:56 +0100 Subject: [PATCH] Added ToString to Mailbox --- src/SmtpServer/Mail/Mailbox.cs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/SmtpServer/Mail/Mailbox.cs b/src/SmtpServer/Mail/Mailbox.cs index 2175c49..5800820 100644 --- a/src/SmtpServer/Mail/Mailbox.cs +++ b/src/SmtpServer/Mail/Mailbox.cs @@ -44,5 +44,10 @@ public Mailbox(string address) /// Gets the host server. /// public string Host { get; } + + public override string ToString() + { + return User + "@" + Host; + } } -} +} \ No newline at end of file