B
Bingo
My first MailItem object, oMapiMail is created from an
email. A new MailItem object, oMapiMailNew is created by
method Forward. On the form, Item_Send event is used to
make a copy, oMail, from oMapiMailNew. A SafeMailItem,
oRdpMail, is created and associated with oMail. I first
purge all the recipients of oMail entered by the user and
then add Bingo, a valid email display name to it. Then
run Resolve. If user only entered one recipient, the
code is working fine. Two emails are sent out. One to
the entered recipient and the other to me, Bingo. But if
user entered more than one recipient,
oRdpMail.Recipients.Add ("Bingo") returns Nothing. The
method Resolve then failed.
This is also true when I use Reply method instead of
Forward to create oMapiMailNew.
Please help on this. Thanks.
email. A new MailItem object, oMapiMailNew is created by
method Forward. On the form, Item_Send event is used to
make a copy, oMail, from oMapiMailNew. A SafeMailItem,
oRdpMail, is created and associated with oMail. I first
purge all the recipients of oMail entered by the user and
then add Bingo, a valid email display name to it. Then
run Resolve. If user only entered one recipient, the
code is working fine. Two emails are sent out. One to
the entered recipient and the other to me, Bingo. But if
user entered more than one recipient,
oRdpMail.Recipients.Add ("Bingo") returns Nothing. The
method Resolve then failed.
This is also true when I use Reply method instead of
Forward to create oMapiMailNew.
Please help on this. Thanks.