How to set a custom header using phpmailer
问题 I am using phpmailer for sending emails, but I want to make a custom header for my company, by adding a textarea field that contain any custom header for example using a header like this one: exemple of header or any other header types.. How can I do this , thanks in advance. 回答1: You will need to do some discovery and modification of the default headers set by PHPmailer for this to be achieved. You will need to use different functions to set/edit headers depending on the type of header you