I have found that I am unable to create a new MapiRecipient unless I give the method an email address. So the following snippet will throw an error:
MapiRecipientCollection rc = new MapiRecipientCollection();
rc.add("", "Vernon", 1);
My requirement is that I be able to create a recipient exactly as I found it. In this case my source MSG file has a recipient that has no email address. Basically PR_EMAIL_ADDRESS is not present as a Mapi property.
Is there a way for me to create a MapiRecipient without an email address?
MapiRecipientCollection rc = new MapiRecipientCollection();
rc.add("", "Vernon", 1);
My requirement is that I be able to create a recipient exactly as I found it. In this case my source MSG file has a recipient that has no email address. Basically PR_EMAIL_ADDRESS is not present as a Mapi property.
Is there a way for me to create a MapiRecipient without an email address?