to($to)
| Parameters: |
|
|---|---|
| Returns: |
CI_Email instance (method chaining) |
| Return type: |
CI_Email |
Sets the email address(s) of the recipient(s). Can be a single e-mail, a comma-delimited list or an array:
$this->email->to('[email protected]');
$this->email->to('[email protected], [email protected], [email protected]');
$this->email->to(
array('[email protected]', '[email protected]', '[email protected]')
);
Please login to continue.