Adds to the "To" recipient collection.
public to ( mixed $RecipientEmail, string $RecipientName = '' ) : Gdn_Email | ||
$RecipientEmail | mixed | An email (or array of emails) to add to the "To" recipient collection. |
$RecipientName | string | The recipient name associated with $RecipientEmail. If $RecipientEmail is an array of email addresses, this value will be ignored. |
return | Gdn_Email |