Add Mail send to all warnning

This commit is contained in:
jie65535 committed 2022-10-29 22:21:25 +08:00
1 parent aa075f5f91
commit b708cff0cd
6 files changed
+57

No files matched your search

@@ -1504,6 +1504,11 @@ namespace GrasscutterTools.Forms
return;
}
if (mail.SendToAll)
{
MessageBox.Show(Resources.MailSendToAllWarning, Resources.Warning, MessageBoxButtons.OK, MessageBoxIcon.Warning);
}
var cmd = $"/sendMail {(mail.SendToAll ? "all" : mail.Recipient.ToString())} |" +
$"/sendMail {mail.Title} |" +
$"/sendMail {mail.Content.Replace("\r", "\\r").Replace("\n", "\\n")} |" +