title: Rails: Sending email after filling contact form
body: <p>I'd like to create contact form using <a href="http://l4u.github.io/articles/create-a-rails-4-site-with-contact-us-form/" rel="nofollow">this</a> tutorial </p>
  
  <p>At the end of that is writen that I should configure SMTP, so in config/environments/developement.rb I set </p>
  
  <pre><code> config.action_mailer.default_url_options = {:host =&gt; 'myproject.c9.io'}
  </code></pre>
  
  <p>(I'm using rails on c9.io)</p>
  
  <pre><code>ActionMailer::Base.smtp_settings = {
    :address              =&gt; "smtp.gmail.com",
    :port                 =&gt; 587,
    :domain               =&gt; "gmail.com",
    :user_name            =&gt; "myusername",
    :password             =&gt; "mypassword",
    :authentication       =&gt; "plain",
    :enable_starttls_auto =&gt; true
  }
  </code></pre>
  
  <p>I'm fairly new in rails and especially in sending emails, so I'd like to ask, because I don't get message on my email address when I fill form and send, what should I do to get a confirmation of correct sending. I know that there is a lot of tutorials on the Internet but now I'm in the muddle, so I'll be grateful for explanation.</p>