title: Rails - How do I use full email addresses without triggering Net::SMTPFatalError?
body: <p>I am new to rails and using rails-2.3.5 and ruby-1.8.7. Here is my notifier.rb model:</p>
  
  <pre><code># app/models/notifier.rb
  class Notifier &lt; ActionMailer::Base
    default_url_options[:host] = "foo.com"  
  
    #This method sends an email with token to users who request a new password
    def password_reset_instructions(user)  
      subject       "Password Reset Instructions"  
      from          "Support Team&lt;support@foo.com&gt;"  
      recipients    user.email  
      sent_on       Time.now  
      body          :edit_password_reset_url =&gt; 
                     edit_password_reset_url(user.perishable_token)  
    end  
  end
  </code></pre>
  
  <p>When I call this method I get the following error:</p>
  
  <pre><code>Net::SMTPFatalError in Password resetsController#create
  555 5.5.2 Syntax error. 36sm970138yxh.13
  </code></pre>
  
  <p>I found an article that said the problem was a bug in ruby-1.8.4 and that the fix is to remove the angle brackets from the :from field. Sure enough, if I just use "support@foo.com" instead of "Support Team&lt;support@foo.com&gt;" everything works fine.</p>
  
  <p>However, there is no reference to this issue in either the rails-2.3.5 API or ActionMailer Basics rails guide, and in fact both show "name&lt;mail address&gt;" in their actionmailer setup examples. Anyone know what I am doing wrong?</p>