title: Rails 3/Devise confirmation email server settings
body: <p>I have a Rails 3 app and I'm using Devise for user authentication.  How do I specify an application-wide SMTP server for Devise to use?</p>
  
  <p>I've entered the following into /config/environments/development.rb (Apache2 is set to 8080)</p>
  
  <pre><code>config.action_mailer.default_url_options = { :host =&gt; 'mydomain.com:8080' }
  </code></pre>
  
  <p>Any ideas on how to get outgoing mail to work with Devise and Rails 3?</p>