Count
Returns the number of email addresses in the list.
Property value
Integer
Examples
Copy
if (email.Recipients.Count==1)
{
// Insert code to perform action here.
}
Specifies to perform some action if the number of email addresses in the To list equals 1.