Exemple #1
0
        public static void _Main(string[] args)
        {
            Application.Run(new MailForm());
            string d = "";

            foreach (var a in args)
            {
                if (a.Contains(':'))
                {
                    d = null; break;
                }
                d = d + a;
            }
            TMail x;

            if (d != null)
            {
                x = new TMail(new[] { d });
            }
            else
            {
                x = new TMail(args);
            }
            x.send();
        }
Exemple #2
0
 void m_OnSuccess(TMail obj)
 {
     MessageBox.Show("Message Send correctly");
 }
Exemple #3
0
 void m_OnFail(TMail obj, string e)
 {
     MessageBox.Show("Message Failed\r\n" + e);
 }