B
Bingo
' Outlook MailItem
' It has one recipient, someone
oMaipMailItem
' Redemption SafeMailItem
oRdpMailItem
oRdpMailItem.Item = oMaipMailItem
Set oRdpRecipients = oRdpMailItem.Recipients
' oRdpRecipients has zero count??
' but oMaipMailItem.Recipients has one count
' so the code I have to remove all recipients from
' oRdpRecipients never executed
Set oRdpRecipient = oRdpRecipients.Add("Bingo")
oMapiRecipient.Type = 1 'olTo
oMapiMailItem.Display
' oMapiMailItem still has the original recipient, someone
What are the right steps to do this? Thanks.
' It has one recipient, someone
oMaipMailItem
' Redemption SafeMailItem
oRdpMailItem
oRdpMailItem.Item = oMaipMailItem
Set oRdpRecipients = oRdpMailItem.Recipients
' oRdpRecipients has zero count??
' but oMaipMailItem.Recipients has one count
' so the code I have to remove all recipients from
' oRdpRecipients never executed
Set oRdpRecipient = oRdpRecipients.Add("Bingo")
oMapiRecipient.Type = 1 'olTo
oMapiMailItem.Display
' oMapiMailItem still has the original recipient, someone
What are the right steps to do this? Thanks.