Beispiel #1
0
        public static string[] Headers(this MailItem mailItem, string name)
        {
            var headers = mailItem.HeaderLookup();

            if (headers.Contains(name))
            {
                return(headers[name].ToArray());
            }
            return(new string[0]);
        }