title: emails send using Symfony Mailer object goes to Spam folder
body: <p>I am using Symfony 1.4.8 and Propel as ORL. I am sending mails using Symfony miler object, the mail is send properly but it goes to spam folder, is there any way to stop that. the code that i am using,</p>
  
  <pre><code>$to_email_array=array("one@gmail.com","two@gmail.com");
  $body="welcome to symfony";
  $subject="from Symfony";
  $from=array('me@mydomain.com' =&gt; 'our Domain');
  $mail_object=$this-&gt;getMailer();
  $message=Swift_Message::newInstance()
                                   -&gt;setSubject($subject)
                                   -&gt;setBody("&lt;html&gt; &lt;head&gt; &lt;/head&gt; &lt;body&gt; &lt;span&gt;Dear {receiver}, &lt;/span&gt;".$body."&lt;/body&gt; &lt;/html&gt;", "text/html")
                                   -&gt;setFrom($from)
                                   -&gt;setTo($to_email_array);
  $mailed=$mail_object-&gt;batchSend($message);
  </code></pre>
  
  <p>The above code is called from a Symfony Task, and we are using our own web server to send mail, with our domain name. The mail is send, but it goes to spam folder. Is there any way to stop the mail going to spam folder.</p>