//#1 for default Source and Receiver public static bool SetSendMail(string subject, string body, int retryCounter, bool highPriority = false, MailAddress[] eMailToCC = null, MailAddress[] eMailToBCC = null, Attachment[] eMailAttachment = null) { return(NotificationGetParams.SetSendMail(null, subject, body, retryCounter, null, null, null, null, highPriority, eMailToCC, eMailToBCC, eMailAttachment)); }
static void Main(string[] args) { NotificationGetParams.SetSendMail("Fick de scheise", " Fick sie sowas von", 3); for (; Notification.NotificationGetParams.sendMailThread.IsAlive == true;) { Console.WriteLine("Hi"); } }