title: Rails - how to Create a Mail object ,Mail.new
body: <p>using rails 3, I want to learn how to create a ActionMailer Mail object and can't much docs online. I have the following work:</p>
  
  <pre><code>message_all = Mail.new(:from =&gt; 'frooooom', :to =&gt; 'tooooo', :cc =&gt; 'cccccccc', :subject =&gt; 'SUBJECTasddsadsadasdsa')
  </code></pre>
  
  <p>Question is now, how do I add a HTML and TEXT Body to that? Bonus points for also showing an example of how to add attachements.</p>
  
  <p>Thank you!</p>