Set Custom From name Headers phpmailer code example Example: how to custom header in phpmailer $mail->setFrom('[email protected]', 'Mailer');