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