title: problem with Actionmailer "Timeout::Error"?
body: <p>im trying to send a email with action mailer and it gives me a <code>Timeout::Error (execution expired):</code> even though in the console it says that the e mail is sent: 
   it shows </p>
  
  <pre><code>    Sent mail to aldeirm2@gmail.com
  </code></pre>
  
  <p>then displayes the e mail that was sent then it shows the following error:</p>
  
  <pre><code>Timeout::Error (execution expired):
    /usr/lib/ruby/1.8/timeout.rb:60:in `open'
    /usr/lib/ruby/1.8/net/smtp.rb:551:in `do_start'
    /usr/lib/ruby/1.8/net/smtp.rb:551:in `do_start'
    /usr/lib/ruby/1.8/net/smtp.rb:525:in `start'
    app/models/appointment.rb:10:in `tomorrows_appointments'
    app/models/appointment.rb:8:in `each'
    app/models/appointment.rb:8:in `tomorrows_appointments'
    app/controllers/show_appointments_controller.rb:11:in `send_email'
    -e:2:in `load'
    -e:2
  
  Rendered rescues/_trace (35.8ms)
  Rendered rescues/_request_and_response (0.3ms)
  Rendering rescues/layout (internal_server_error)
  </code></pre>
  
  <p>here is my settings: </p>
  
  <pre><code>config.cache_classes = false
  config.whiny_nils = true
  config.action_controller.consider_all_requests_local = true
  config.action_view.debug_rjs                         = true
  config.action_controller.perform_caching             = false
  
  config.action_mailer.raise_delivery_errors = true
  config.action_mailer.delivery_method = :smtp
  config.action_mailer.smtp_settings = {
    :enable_starttls_auto =&gt; true,
    :address              =&gt; "smtp.gmail.com",
    :port                 =&gt; 587,
    :domian               =&gt; "gmail.com",
    :authentication       =&gt; :login,
    :user_name            =&gt; "username",
    :password             =&gt; "blablabla",
  }
  </code></pre>
  
  <p>i also tried setting <code>authentication</code> to <code>:plain</code> and using username@gmail.com as the <code>user_name</code> with no hope.</p>
  
  <p>any ideas</p>