Quantcast
Channel: Aspose.Email Product Family
Viewing all articles
Browse latest Browse all 1367

How to create a new MapiRecipient without an email address?

$
0
0
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?


Viewing all articles
Browse latest Browse all 1367

Latest Images

Trending Articles



Latest Images