Esempio n. 1
0
        internal static bool TryGetFromHeader(HeaderList mimeHeader, out EmailMessageHash result)
        {
            result = null;
            string property = XHeaderUtils.GetProperty(mimeHeader, "X-MS-Exchange-Forest-EmailMessageHash");

            if (string.IsNullOrEmpty(property))
            {
                return(false);
            }
            result = new EmailMessageHash(property);
            return(true);
        }
Esempio n. 2
0
 private string GetProperty(string name)
 {
     return(XHeaderUtils.GetProperty(this.mimeHeaders, name));
 }