title: Ruby on Rails Mailer not sending email in development mode
body: <p>I have a Ruby on Rails application with simple mailer which looks like this:</p>
  
  <pre><code>class EventMailer &lt; ActionMailer::Base
  
    default from: "example.com"
  
    def welcome_email(event, customer)
      @event = event
      @customer = customer
      mail :subject =&gt; "Test", :to =&gt; @customer.email
    end
  end
  </code></pre>
  
  <p>My action_mailer settings looks like this:</p>
  
  <pre><code>config.action_mailer.smtp_settings = {
      :address   =&gt; "smtp.mandrillapp.com",
      :port      =&gt; 587, # ports 587 and 2525 are also supported with STARTTLS
      :enable_starttls_auto =&gt; true, # detects and uses STARTTLS
      :user_name =&gt; "my_email",
      :password  =&gt; "my_password", # SMTP password is any valid API key
      :authentication =&gt; 'login', # Mandrill supports 'plain' or 'login'
      :domain =&gt; 'yourdomain.com', # your domain to identify your server when connecting
    }
  </code></pre>
  
  <p>I have also customer registration with devise and it sends email properly. But when I try to run in my console:</p>
  
  <pre><code>EventMailer.welcome_email(Event.last, Customer.last).deliver
  </code></pre>
  
  <p>It does not deliver email. What can be wrong? I have no ideas...</p>
  
  <p>Edit:
  Rest of my config</p>
  
  <pre><code>  config.action_mailer.default_url_options = { :host =&gt; 'localhost:3000' }
    config.action_mailer.delivery_method = :smtp
    config.action_mailer.perform_deliveries = true
    config.action_mailer.raise_delivery_errors = true
  </code></pre>