title: Ruby on Rails ActionMailer SMTP Settings
body: <p>trying to set up my own ActionMailer::Base in RubyRails -> This works:</p>
  
  <pre><code>    ActionMailer::Base.smtp_settings = {
      :address              =&gt; "smtp.gmail.com",
      :port                 =&gt; 587,
      :domain               =&gt; "anythingworks",
      :user_name            =&gt; "mygmailaddress@gmail.com",
      :password             =&gt; "somePW",
      :authentication       =&gt; "plain",
      :enable_starttls_auto =&gt; true
      }
  </code></pre>
  
  <p>fine.. but it would be nice if I could use my mail server. but when i am trying this:</p>
  
  <pre><code>    ActionMailer::Base.smtp_settings = {
      :address              =&gt; "smtp.myowndomain.de",
      :port                 =&gt; 25, (tried 587) also
      :domain               =&gt; "triedanything",
      :user_name            =&gt; "mycorrectuser",
      :password             =&gt; "yesitisthecorretpw",
      :authentication       =&gt; "plain",
      :enable_starttls_auto =&gt; true
      }
  </code></pre>
  
  <p>Tried lot of different settings / changes. But no E-Mail is sent. Is there any logs avaiable to this ? Think its something because authentication... "login" instead of "plain" doesnt help...</p>
  
  <p>Had some tests with telnet sending some E-mails from command line.
  gmail doesnt work from command line (saying STARTTTLS or something). My own domain mails server (which is hosted from some provider) says "relay access denied" (from commandline).</p>
  
  <p>Webmail both working..</p>
  
  <p>Any ideads ? Thanks!</p>