Пример #1
0
 public GxMailMessage() : base()
 {
     _from = new GxRecip("", "");
     _to   = new GxLstRecipients();
     _bcc  = new GxLstRecipients();
     _cc   = new GxLstRecipients();
 }
Пример #2
0
        static public string GetListAsString(GxLstRecipients lst)
        {
            StringBuilder bld = new StringBuilder();

            for (int i = 0; i < lst.Count; i++)
            {
                bld.Append(((GxRecip)lst[i]).FullName);
                if (lst.Count > 1 && i < lst.Count - 1)
                {
                    bld.Append(";");
                }
            }
            return(bld.ToString());
        }