On Sep 23, 9:00 pm, sreeprasad <[EMAIL PROTECTED]> wrote:
> I have rails space application running on my local.
> I have issues in sending emails on my application.
>
> I have configured my environment.rb as follows :
>
> config.action_mailer.raise_delivery_errors = true
> config.action_mailer.default_charset = "utf-8"
> ActionMailer::Base.smtp_settings = {:address
> =>"smtp.mail.yahoo.co.in",
> :port => 587,
> :domain => "yahoo.com",
> :authentication => :login,
> :user_name => "[EMAIL PROTECTED]",
> :password => '******'}
That is almost certainly the wrong setting for :domain. That is the
domain used in the helo or ehlo command, and it is supposed to be the
domain name associated with your computer. Claiming to be yahoo.com
could easily result in the smtp server thinking you are being
fraudulent. You're probably better off not specifying it than
specifying something bogus. The :authentication might be wrong too,
possible values are :plain, :login, :cram_md5
Fred
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---