wodMailbox ActiveX Control - ToName Property
      
 

Description

Returns Name of the recipient, if found.


Property type

A String value.  


Syntax

object.ToName



The ToName Property syntax has these parts:

Part Description
object An expression evaluating to an object of type Message.

Remarks

ToName property will read recepient of the message (through To property), and try to return only name, without email address.

Typically, full recepient header may look like this:

"Technical Support" <techsupport@weonlydo.com> 

in which case ToName would return 'Technical Support', without any quotes. To retrieve email, you can use ToEmail property.