title: Using Mail gem, and my ruby code is not rendering. Any ideas?
body: <p>Im using Sinatra and this gem, and Im able to send email ok. However, when I send an ERB file, it comes through as plain text and it doesnt render the ruby code. For example:</p>
  
  <pre><code>mail = Mail.deliver do
    to user_email
    from 'support@iconosites.com'
    subject 'Your Upgrade is being processed'
    body File.read('views/email.erb')
  end
  </code></pre>
  
  <p>Is there a way to have it render the Ruby code?</p>
  
  <p>Thanks!!</p>