Outlook 플러그인에서 보낸 사람의 SMTP 주소를 가져 오려고합니다. 이 예상대로 내가 this one here처럼 MSDN 에서 예를 수행 할 때 일 :보낸 사람 Outlook/Exchange의 SMTP 주소를 얻는 방법
private void GetSMTPAddressForRecipients(Outlook.MailItem mail)
{
const string PR_SMTP_ADDRESS =
"http://schemas.microsoft.com/mapi/proptag/0x39FE001E";
Outlook.Recipients recips = mail.Recipients;
foreach (Outlook.Recipient recip in recips)
{
Outlook.PropertyAccessor pa = recip.PropertyAccessor;
string smtpAddress =
pa.GetProperty(PR_SMTP_ADDRESS).ToString();
Debug.WriteLine(recip.Name + " SMTP=" + smtpAddress);
}
}
을하지만
http://schemas.microsoft.com/mapi/proptag/0x39FE001E
에서 약간의 시간 (몇 주) 기준 스키마 때문에 더 이상 확인할 수 없습니다. ERRORMESSAGE : 나는 브라우저에서 URL을 시도 할 경우
System.Runtime.InteropServices.COMException: http://schemas.microsoft.com/mapi/proptag/0x39FE001E Property unknown or ca not be found.
내가 얻을 : 내가 찾을 수
The resource you are looking for has been removed, had its name changed, or is temporarily unavailable.
모든 예 http://schemas.microsoft.com/mapi/proptag/SOMETHING
에 능숙 해를 가리키는 (위의 오피스 2013 등)포럼이나 oon MSDN에서 이동했거나 변경된 정보를 찾을 수 없습니다.
누구도이 문제에 뛰어 들고 있지 않습니까? 알려진 솔루션이나 작업 경로입니다.
아, 그렇다면 거기에 없으면 다른 속성을 확인해야합니다. 나는 그것을 시도 할 것이다. 고맙습니다. Outlook 스파이는 지금까지 사용하지 않은 기본 도구 인 것 같습니다. 그것이 지금도 변화해야한다고 생각하십시오.) – klaas