title: Sinatra, Pony gem: NoMethodError
body: <p>I am trying to send an e-mail using Pony and get the<br>
  <strong>NoMethodError at /<br>
  undefined method `address' for #Mail::Message:.</strong> error. This is my code so far:</p>
  
  <pre><code>post '/' do
  Pony.options = { :from           =&gt; '___@yandex.ru',
                   :via            =&gt; :smtp,
                   :address        =&gt; 'smtp.yandex.ru',
                   :port           =&gt; '465',
                   :user_name      =&gt; '___',
                   :password       =&gt; '___',
                   :authentication =&gt; :plain, 
                   :domain         =&gt; "http://127.0.0.1:9393/"
                  }
  Pony.mail(subject: 'Hello', to: "___@yandex.ru", body: 'hi')
  redirect '/'
  end
  </code></pre>
  
  <p>when running <strong>bundle list</strong> it does show <strong>pony (1.10)</strong>. What could go wrong?</p>