On Sep 13, 10:25 am, fRAnKEnSTEin <[EMAIL PROTECTED]> wrote:
> Hi, i am trying to send an email using RoR version 2.1.0 but i get
> some errors. I have this configuration:
>
> 1- In config/eviroment.rb, at the very end of my file:
>
> ActionMailer::Base.delivery_method = :smtp
>
> ActionMailer::Base.smtp_settings = {
> :address => "smtp.domain.com",
> :port => 25,
> :domain => "domain.com",
> :authentication => :login,
> :user_name => "[EMAIL PROTECTED]",
> :password => "secret"
>
> }
>
Sounds like the mail server doesn't support the :login authentication
method (Have you tried the other options ?(:plain, :cram_md5)).
Perhaps the server requires no authentication in which case you should
just remove the :authentication option.
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 rubyonrails-talk@googlegroups.com
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
-~----------~----~----~----~------~----~------~--~---