Fixed JSON type error

This commit is contained in:
Tristan B. Kildaire 2020-07-20 20:38:48 +02:00
parent 7a3ff57364
commit 1c43e05e70
1 changed files with 2 additions and 2 deletions

View File

@ -683,8 +683,8 @@ public final class ButterflyClient : Thread
{
/* Create the error message */
JSONValue deliveryReport;
JSONValue[] errorRecipients = [JSONValue("")];
deliveryReport["recipients"] = mailbox.username~"@"~server.domain;
JSONValue[] errorRecipients = [JSONValue(mailbox.username~"@"~server.domain)];
deliveryReport["recipients"] = errorRecipients;
/* TODO: Make more indepth, and have copy of the mail that was tried to be sent */
string errorMessage = "There was an error delivery the mail to: "~to!(string)(recipients)~"\n";