Hi everybody,
I'm having major problems when transmitting multiple e-mails.
Here's the situation
E-mail #1:
I set the .MsgIndex to -1.
I have 5 recipients. I'm incrementing the .RECIPINDEX property by one each time, and adding the recipient name to the .RecipDisplayName property. Then, I execute the .SEND method.
E-mail #2
I have 1 recipient.
I set the .MsgIndex to -1
I add the recipient name to the RecipDisplayName property execute the .SEND method.
When sending e-mail #2, four of the five recipients of the previous e-mail are also being copied on the second e-mail.
It seems like the indexed recipients aren't being cleared.
I've even tried to Signoff from MapiSession and signon again, still the same thing.
Any ideas?
Any help would be greatly appreciated.
I'm having major problems when transmitting multiple e-mails.
Here's the situation
E-mail #1:
I set the .MsgIndex to -1.
I have 5 recipients. I'm incrementing the .RECIPINDEX property by one each time, and adding the recipient name to the .RecipDisplayName property. Then, I execute the .SEND method.
E-mail #2
I have 1 recipient.
I set the .MsgIndex to -1
I add the recipient name to the RecipDisplayName property execute the .SEND method.
When sending e-mail #2, four of the five recipients of the previous e-mail are also being copied on the second e-mail.
It seems like the indexed recipients aren't being cleared.
I've even tried to Signoff from MapiSession and signon again, still the same thing.
Any ideas?
Any help would be greatly appreciated.