![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
![]()
Hello I want to receive recipients (address from TO,CC)from the incoming mail
using Redemption for Outlook 2003. I am able to get recipients pointer from SafeMailItem. When i try to itrate trough recipients to get address of the recipient it always give me null. But when i use Outlook::Recipient i get recipients email addresss but for exchange users email address is in the x400 format and i want in smtp format. So i have opted for redemption. How should I proceed to get Recipient from recipients. I am using ATL-COM to develop addin. Redemption::ISafeRecipientsPtr pSafeRecipients = NULL; if(pSafeMailItemptr) { hr = pSafeMailItemptr-get_Recipients(&pSafeRecipients); } //I get valid pSafeRecipients pointer long lCount = pSafeRecipients-Count //here lCount is always 0 Redemption::ISafeRecipientPtr pSafeRecipient = NULL hr = PSafeRecipients-Get_Item(1,pSafeRecipient) BSTR bstrAddress = pSafeRecipient-Address //bstrAddress is always blank though there are recipients?? am I wrong in doing so?? |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Can't get SMTP address of contact that shares email address of an Exchange user | Jeff | Outlook and VBA | 14 | January 15th 09 12:50 AM |
Redemption, SMTP address | Mike | Add-ins for Outlook | 3 | October 17th 07 06:30 AM |
Adding recipients to existing mail Items using Redemption | [email protected] | Add-ins for Outlook | 3 | April 27th 07 09:07 PM |
Redemption: Recipients aren't added after CreateItemFromTemplate() | [email protected] | Add-ins for Outlook | 4 | September 4th 06 01:38 PM |
Catastrophic Failure while accessing Redemption.SafeMailItem.To and Recipients | jisha | Outlook and VBA | 1 | June 30th 06 05:48 PM |