导航

Email attachment contenttype property

Posted on 2007-04-22 10:46  鸡尾虾的壳  阅读(234)  评论(0编辑  收藏  举报

如何判断在orchestration中基于POP3协议attachment的类型为email?

v_attachContentType = System.Convert.ToString(MsgPart.GetPartProperty(typeof(Microsoft.XLANGs.BaseTypes.ContentType)));

v_attachContentType = v_attachContentType.ToUpper();

v_isEmailAttachment = v_attachContentType.Equals("MESSAGE/RFC822");