How can I make PHP Mailer send all the necessary headers, i.e all the headers that hotmal, gmail and yahoo requires.
Does anyone have a PHP Mailer class that sends all these headers?
How can I make PHP Mailer send all the necessary headers, i.e all the headers that hotmal, gmail and yahoo requires.
Does anyone have a PHP Mailer class that sends all these headers?
If you're referring to PHPMailer, then some of the "extra" headers you set yourself when you add recipients, subjects and the from address. You can also add other fields, like changing the encoding or ading a replyto field.
Most of the other headers will be added for you when you add a HTML body as well as a text body or add attachments. That's the point of this class: it does a lot of that work for you as the raw mail() call in PHP is extremely simplistic.