PHPMailer\PHPMailer\PHPMailer::set
Set or reset instance properties.
You should avoid this function - it's more verbose, less efficient, more error-prone and harder to debug than setting properties directly. Usage Example: `$mail->set('SMTPSecure', 'tls');` is the same as: `$mail->SMTPSecure = 'tls';`.
Signature
public function set(string
$name,
[string
$value = ''] )
Parameters
$name
— string- The property name to set
$value
— string- The value to set the property to
Returns
- bool