title: Sending email to array of recipients on php
body: <p>I am looking to send email to multiple recipients but i am not able to do so.. here is my code. </p>
  
  <pre><code>using print_r() statement
  Array
  (
      [selectedvalue] =&gt; Array
          (
              [0] =&gt; muralidego@gmail.com
              [1] =&gt; muralidego@yahoo.com
              [2] =&gt; ezhil@emirates.net.ae
          )
  }
  </code></pre>
  
  <p>and i want to use this emails in mail($mailDO->toEmail)</p>
  
  <pre><code>mail($mailDO-&gt;toEmail, $mailDO-&gt;subject, $mailDO-&gt;message, $headers); 
  </code></pre>
  
  <p>kindly help me out...thanks.</p>