title: rails emails from heroku
body: <p>I am trying to send emails through my godaddy shared hosting account.</p>
  
  <p>I have setup the email: hello@example.com</p>
  
  <p>In rails i have the following in both:
  app/config/environments/development
  app/config/environments/production</p>
  
  <pre><code>config.action_mailer.delivery_method = :smtp
  config.action_mailer.smtp_settings = {
      :address        =&gt; 'mail.thaismilejersey.com',
      :port           =&gt; '25',
      :authentication =&gt; :plain,
      :user_name      =&gt; ENV['EMAIL_ADDRESS'],
      :password       =&gt; ENV['EMAIL_PASSWORD'],
      :domain         =&gt; 'thaismilejersey.com',
      :enable_starttls_auto =&gt; true,
      :openssl_verify_mode =&gt; 'none'
  }
  </code></pre>
  
  <p>When I run this in both development and production locally, the emails are sent and I receive them fine.</p>
  
  <p>When I deploy to heroku, everything seems to work, but the emails never actually arrive in my inbox.</p>
  
  <p>ps: I have tried specifying the username and password directly rather than variables but it makes no difference.</p>
  
  <p>Does anyone have any experience doing this or could help me out at all?</p>
  
  <p>Thanks</p>