What's the easiest way to give Pony a trial run out?
I'm trying to send a test email to myself, using my gmail account on
my local machine, but am struggling to get the settings right. I've
found this page:
http://mail.google.com/support/bin/answer.py?hl=en&answer=13287
And from that I have the following settings:
post '/contact' do
Pony.mail :to => '
d...@gmail.com',:from => '
d...@gmail.com'
:via => :smtp, :smtp => {
:host => '
smtp.gmail.com',
:port => '465',
:user => '
d...@gmail.com',
:pass => 'mypasswordj',
:auth => :login
:domain => "localhost.localdomain" # the HELO domain provided by
the client to the server
}
:subject => params[:subject]
"message sent!"
end
I'm not sure about the :auth and :domain settings. Anybody got this to
work or know how to, or is there an easier way?
Thanks,
DAZ