From 39a6dc4deca2af0119131f3d525daa7d54a71f49 Mon Sep 17 00:00:00 2001 From: "Adam D. Ruppe" Date: Fri, 13 Sep 2024 07:51:55 -0400 Subject: [PATCH] omg to and cc are not supposed to be the same --- email.d | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/email.d b/email.d index 92e920d..3c0c51b 100644 --- a/email.d +++ b/email.d @@ -497,7 +497,7 @@ class EmailMessage { if(to.length) headers ~= "To: " ~ to.toProtocolString(this.linesep); if(cc.length) - headers ~= "Cc: " ~ to.toProtocolString(this.linesep); + headers ~= "Cc: " ~ cc.toProtocolString(this.linesep); if(from.length) headers ~= "From: " ~ from.toProtocolString(this.linesep);