我在發送電子郵件時正在設置用戶屬性。當我將它發送給交換所以外的電子郵件(gmail或yahoo)並得到回覆時,它就會損失它的屬性。任何理由?贖回RDOMail丟失用戶屬性
方法1: 集: m_RDOMail.Fields [ 「http://schemas.microsoft.com/mapi/string/ {00020386-0000-0000-C000-000000000046} /屬性名」] =值;
得到: 對象userProperty = m_RDOMail.Fields [ 「http://schemas.microsoft.com/mapi/string/ {00020386-0000-0000-C000-000000000046} /屬性名」 ];
方法2: SET: m_RDOMail.UserProperties.Add( 「屬性名」,rdoUserPropertyType.olText,真實,rdoUserPropertyType.olText); m_RDOMail.UserProperties [「PropertyName」]。Value = value;
GET: RDOUserProperty userProperty = m_RDOMail.UserProperties [「PropertyName」];
是在收件人的收件箱中。我看着OutlookSpy,當我收到來自SMTP服務器的回覆時,我的屬性被刪除..如果電子郵件與交換服務器的屬性被保存..任何想法? – user1836442
再次,您是否看過PR_TRANSPORT_MESSAGE_HEADERS屬性? –