+1 vote

Hi,

To get the sender of an email we need to check if the From has a count of 1 then we use the first item from the From collection, otherwise we need to use the property Sender.

This requires several step couldn't this become a property of the IMail interface e.g. SenderOfEmail that performs this task?

Greetings,
Martijn

by (750 points)

1 Answer

0 votes

IMail.Sender returns first item from IMail.From collection if the sender header was not specified explicitly.

by (297k points)
edited by
...