I have a contact form which sends form data using php "mail" function. The problem is that the mails sent through the gamma.xisto.com always end up in spam folder. I tried to filter messages, but I can't, because the "senders email" is set as the email which the user enters. I want to keep this way only.
Here is the email headers which I am using:
$headers = 'From: '.$email_from."\r\n". 'Reply-To: '.$email_from."\r\n" . 'X-Mailer: PHP/' . phpversion(); @mail($email_to, $email_subject, $email_message, $headers);
As I told, I want to keep the "From" email the one which user enters. My question is, how do I whitelist gamma.xisto.com.
This appears as "mailed by" as seen in the screenshot:

There is no option to in the filter settings to filter by "mailed-by" value.
I haven't explored much into gmail's features. So if there is a way to white list that and send to inbox, please let me know.
Thanks
















