title: Cshell Mutt send Email with String
body: <p>I am using a .csh script on my Centos 5.5 - yes:) - with Mutt (V 1.5).</p>
  
  <p>Well, I can send an Email no problem like so:</p>
  
  <pre><code>echo "" | mutt  -s 'Subject' -i /tmp/body.txt 'test@test.com'
  </code></pre>
  
  <p>Now I want to save above parameters in a variable and then call mutt with its contents...</p>
  
  <p>The variable contains the following in the end: </p>
  
  <p><strong><em>-s 'Subject' -i /tmp/body.txt 'test@test.com'</em></strong></p>
  
  <p>The question is not how to "extract" this string to execute the above command.</p>
  
  <p>I have tried:</p>
  
  <pre><code>    set MailString="-s 'Subject' -i /tmp/body.txt 'test@test.com'"
  
      # (Tried these, don't work)
      #echo "" | mutt `echo "$MailString"`
      #echo "" | mutt `echo $MailString`
      #echo "" | mutt echo $MailString`
      #echo "" | mutt $MailString`
  </code></pre>