The MSMQMailRecipient object represents an e-mail recipient.
It can be included in a list of recipients (MSMQMailRecipientList object) to indicate who is receiving the mail, or it can be used to indicate who sent the mail (formdata).
The following properties define a recipient.
| Property | What it does |
|---|---|
| Address | Specifies the address of the recipient. |
| Name | Specifies the name of the recipient. |
| RecipientType | Specifies how the e-mail is sent to the recipient. |
| NonDeliveryReason | Optional. Used in non-delivery reports to specify why the recipient did not receive the e-mail. |
| DeliveryTime | Optional. Used in delivery reports to specify when the message arrived. |
The MSMQMailRecipient object has no methods.
Windows NT: Requires version 4.0 SP3 or later.
Windows: Requires Windows 95 or later.
Windows CE: Unsupported.
Import Library: Included as a resource in mqmailoa.dll.
Unicode: Defined only as Unicode.