All my emails I am sending in local WAMP or on server, with PHP mail() function, goes to SPAM folder always.
While looking for the issue, I found we\'ve to set heade
I had the same problem and nothing worked.
I found out, that no line in the message is allowed to have more than 70 characters. Solution is to add wordwrap after the message.
$message= wordwrap($message, 70, "\r\n");