title: Bash Mutt email with attachment error Can't stat : No such file or directory
body: <p>So i,ve read some other posts and tried out the answers, but i still keep running into this problem so i wanted to post a question here and see if anyone else had any other ideas. Keeping in mind i am pretty new to bash so i am iffy on whats available currently for what i,m looking for. </p>
  
  <p>I am trying to automate a process that creates a file then sends it to me. All the above is fine, until i try to automatically email myself the file. </p>
  
  <p>I have this line of code for it </p>
  
  <pre><code>echo "report" | mutt -- "$USEREMAIL" -s "report" -a "my_scripts/cid_reports/trb345432.csv"
  </code></pre>
  
  <p>When it tries to run this command it throws an error like </p>
  
  <p><code>Can't stat my_scripts/cid_reports/trb345432.csv: No such file or directory
  my_scripts/cid_reports/trb345432.csv: unable to attach file.</code></p>
  
  <p>Any ideas on how i can fix this? I thought mutt was good to handle this, I am going to play with the mail feature and see if i can get any success with that. </p>
  
  <p>The system looks to be running </p>
  
  <pre><code>Mutt 1.4.2.2i (2006-07-14)  
  Copyright (C) 1996-2002 Michael R. Elkins and others.  
  Mutt comes with ABSOLUTELY NO WARRANTY; for details type `mutt -v  
  </code></pre>