title: How to send a PDF in email to multiple users in laravel?
body: <pre><code>public function index()
  {
      $data[&quot;email&quot;] = &quot;xyz@gmail.com&quot;;
      $data[&quot;title&quot;] = &quot;From Admin&quot;;
      $data[&quot;body&quot;] = &quot;This is Demo&quot;;
  
      $pdf = PDF::loadView('emails.myTestMail', $data);
  
      $mail = Mail::send('emails.myTestMail', $data, function($message)use($data, $pdf) {
          $message-&gt;to($data[&quot;email&quot;], $data[&quot;email&quot;])
                  -&gt;subject($data[&quot;title&quot;])
                  -&gt;attachData($pdf-&gt;output(), &quot;Bill.PDF&quot;);
      });
  
      
  }
  </code></pre>
  <p>This is my code to send email to one person. How can I fetch all the users from database and send same email to all the users? Any suggestion please?</p>