This code throws a "Specified cast is not valid" exception:
string from = mapiMessage.Headers["From"];
I wrap this line in a try/catch block, but I thought you'd want to know you're assuming a cast succeeds here.
Best regards,
Rob
This code throws a "Specified cast is not valid" exception:
string from = mapiMessage.Headers["From"];
I wrap this line in a try/catch block, but I thought you'd want to know you're assuming a cast succeeds here.
Best regards,
Rob
Hi Rob,