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