title: Laravel: How to send emails using sendmail
body: <p>I am using Laravel 7 and I want to send an email using <strong>sendemail</strong> driver using Laravel Mail Facade because it worked when I used php mail function but I want to use the Laravel Mail Facade.</p>
  <p>This is my .env file email configration</p>
  <pre><code>MAIL_DRIVER=sendmail
  MAIL_SENDMAIL='/usr/sbin/sendmail -t -i'
  </code></pre>
  <p>And this is my default mail in config/mail.php</p>
  <pre><code>'default' =&gt; env('MAIL_MAILER', 'sendmail'),
  'mailers' =&gt; [
      'smtp' =&gt; [
          'transport' =&gt; 'smtp',
          'host' =&gt; env('MAIL_HOST', 'smtp.mailgun.org'),
          'port' =&gt; env('MAIL_PORT', 587),
          'encryption' =&gt; env('MAIL_ENCRYPTION', 'tls'),
          'username' =&gt; env('MAIL_USERNAME'),
          'password' =&gt; env('MAIL_PASSWORD'),
      ],
      'ses' =&gt; [
          'transport' =&gt; 'ses',
      ],
      'sendmail' =&gt; [
          'transport' =&gt; 'sendmail',
          'path' =&gt; '/usr/sbin/sendmail -bs',
      ],
      'log' =&gt; [
          'transport' =&gt; 'log',
          'channel' =&gt; env('MAIL_LOG_CHANNEL'),
      ],
      'array' =&gt; [
          'transport' =&gt; 'array',
      ],
  ],
  </code></pre>
  <p>what is the right configuration how make it work?</p>