Exemplo n.º 1
0
 //#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));
 }
Exemplo n.º 2
0
 static void Main(string[] args)
 {
     NotificationGetParams.SetSendMail("Fick de scheise", " Fick sie sowas von", 3);
     for (; Notification.NotificationGetParams.sendMailThread.IsAlive == true;)
     {
         Console.WriteLine("Hi");
     }
 }