title: Rails 3 ActionMailer - no recipent address
body: <p>i have a problem with my prod actionmailer. I'm hosted on site5 sharing cloud. The problem is i get this error message.</p>
  
  <pre><code>A message that you sent using the -t command line option contained no
  addresses that were not also on the command line, and were therefore
  suppressed. This left no recipient addresses, and so no delivery could
  be attempted.
  
  ------ This is a copy of your message, including all the headers. ------
  
  Date: Sat, 17 Sep 2011 21:06:42 +0000
  From: noreply@mydomain.com
  To: myemail@mydomain.com
  Message-ID: &lt;4e750be27b3ef_4a9c159402ee91b039763@themailserver.com&gt;
  Subject: test
  Mime-Version: 1.0
  Content-Type: text/plain;
  charset=UTF-8
  Content-Transfer-Encoding: 7bit
  </code></pre>
  
  <p>i added default </p>
  
  <pre><code>default :recipient =&gt; 'noreply@mydomain.com'
  </code></pre>
  
  <p>but the mail return me the same error.</p>
  
  <p>my ActionMailer controller</p>
  
  <pre><code>class Emailtousers &lt; ActionMailer::Base
    default :from =&gt; "noreply@mydomain.com"
    default :recipient =&gt; "noreplay@mydomain.com"
    def plan_notification(resource)
      @resource = resource
      puts resource
      mail(:to =&gt; "myemail@mydomain.com", :subject =&gt; 'test')
    end
  end
  </code></pre>
  
  <p>What i missed?</p>
  
  <p>i followed this to help me <a href="http://edgeguides.rubyonrails.org/action_mailer_basics.html" rel="nofollow">http://edgeguides.rubyonrails.org/action_mailer_basics.html</a></p>