title: How can I access my .env email variable via controller
body: <p>I have quite a few emails that must go to the administrator of the site, which is the email declared in the .env</p>
  
  <p>So, in each mailable that I create, for the $this->to(), I want to add the email defined in the .env so that in case it changes, I dont have to go around each mail and manually change it.</p>
  
  <p>So I tried this just for testing purposes:</p>
  
  <pre><code>Route::get('send', function(){
      Mail::send(new AdminEmail());
  })-&gt;name('test.email');
  </code></pre>
  
  <p>The Mailable looks like this in the constructor:</p>
  
  <pre><code>public function __construct()
  {
      $this-&gt;from('no-replya@gmail.com', 'Tester');
      $this-&gt;to(env("MAIL_USERNAME"), 'Admin');
  }
  </code></pre>
  
  <p>In the .env I have the configurations:</p>
  
  <pre><code>MAIL_DRIVER=smtp
  MAIL_HOST=smtp.gmail.com
  MAIL_PORT=587
  MAIL_USERNAME=admin@gmail.com
  MAIL_PASSWORD=z6c4czc44
  MAIL_ENCRYPTION=tls
  </code></pre>
  
  <p>When I try to send the email I see the following error:</p>
  
  <pre><code>Address in mailbox given [] does not comply with RFC 2822, 3.6.2.
  </code></pre>
  
  <p>So it seems like am not managing to access the variable correctly.</p>
  
  <p>How can I access the email from the .env file?</p>