Esempio n. 1
0
            public TableItem(MailItem email)
            {
                List <string> recipientAddresses = new List <string>();

                foreach (Recipient recipient in email.Recipients)
                {
                    recipientAddresses.Add(recipient.GetSmtpAddress());
                }

                this.From    = email.GetSenderSMTPAddress();
                this.To      = string.Join(";", recipientAddresses);
                this.Date    = email.SentOn;
                this.Subject = email.Subject;
            }