コード例 #1
0
        private void GetMailMessageCc(MailMessage message)
        {
            var sb = new StringBuilder(0);

            if (message.CC.Count > 0)
            {
                foreach (var cc in message.CC)
                {
                    sb.AppendFormat("{0},", cc.Address);
                }
                Cc = Cc.Remove(Cc.Length - 1, 1);
            }

            Cc = sb.ToString();
        }