mirror of
https://github.com/jie65535/GrasscutterCommandGenerator.git
synced 2025-10-23 20:29:45 +08:00
Add Mail send to all warnning
This commit is contained in:
@@ -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")} |" +
|
||||
|
||||
Reference in New Issue
Block a user