Prevent to move emails from Spam folder PHP : <p>I'm using  <a href="https://app.sendgrid.com" rel="nofollow noreferrer">sendGrid</a> to send emails. But my emails goes in spam folder.
Here is code that I'm using for this.</p>

<pre><code>&lt;?php

$apiKey = "xxxxx.xxxxxx.xxxxxx";

 require("sendgrid-php/sendgrid-php.php");

$from = new SendGrid\Email("Example User", "azeemhaider77@gmail.com");

$subject = "Sending with SendGrid is Fun";

$to = new SendGrid\Email("Example User", "axeemhaider@gmail.com");

$content = new SendGrid\Content("text/plain", "and easy to do anywhere, even with PHP");

$mail = new SendGrid\Mail($from, $subject, $to, $content);


$sg = new \SendGrid($apiKey);

$response = $sg-&gt;client-&gt;mail()-&gt;send()-&gt;post($mail);

echo $response-&gt;statusCode();
var_dump($response-&gt;headers());
var_dump($response-&gt;body());
</code></pre>

<p>Why this is not working why these emails move into spam folder ?</p>
