Joined April 2013
·

Loïc Lepinois

LLN/Liège/Bastogne, Belgium
·
·

Hello, and thanks for this info!
But there's a small mistake at the end,

the line "$mail->getHeaders();"
should be "$headers = $mail->getHeaders();" ;-)

I've tried your answer, but now, gmail put my mail directly in the spam section... There must be something wrong with the header...
Any clue?

Achievements
1 Karma
0 Total ProTip Views