title: "Unable to open file for reading" attaching PDF from storage to mailable
body: <p>hello i have a problem right now</p>
  
  <p>I am doing an "auto-attach PDF to the email page". how it works is that there is an email button in each row that when clicked, the user will be redirected to the page that automatically attaches the PDF that is stored in the storage folder according to the ID. i tried to diedump the PDF and it shows the contents of the PDF file in gibberish, which i assume is normal if doing diedump on PDF files. however, I keep getting the error "unable to open file for reading". here is my code:</p>
  
  <p>Controller:</p>
  
  <pre><code>  public function sendToCompany(Request $request){
  
      $filename = request('attachedLetter');
      $letter = \Storage::get('public/coverLetter/'.$filename);
  
  
      $data = array(
          'email' =&gt; request('company_email'),
          'subject' =&gt; request('email_subject'),
          'message' =&gt; request('email_message'),
          'attachedLetter' =&gt; $letter
      );
  
  
          \Mail::to($data['email'])-&gt;send(new SendEmailToCompany($data['subject'], $data['message'], $data['attachedLetter']));
  }
  </code></pre>
  
  <p>Mailable:</p>
  
  <pre><code>public $content;
  
  // public $attach;
  
  /**
   * Create a new message instance.
   *
   * @return void
   */
  public function __construct($subject, $content, $files)
  {
      $this-&gt;subject = $subject;
      $this-&gt;content = $content;
      $this-&gt;attach = $files;
  }
  
  /**
   * Build the message.
   *
   * @return $this
   */
  public function build()
  {
      $file = $this-&gt;attach;
      dd($file);
      return $this-&gt;markdown('email.emailToCompany')-&gt;attach($file);
  
  }
  </code></pre>
  
  <p>any help will be greatly appreciated. thank you!</p>