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