I tried to change the DOMAIN name . Now I am recieving End Of File reached
error.
getaddrinfo: no address associated with hostname.
lib/smtp_tls.rb:10:in `initialize'
lib/smtp_tls.rb:10:in `open'
lib/smtp_tls.rb:10:in `do_start'
lib/smtp_tls.rb:10:in `do_start'
app/controllers/email_controller.rb:10:in `remind'
On Wed, Sep 24, 2008 at 6:20 PM, Frederick Cheung <
[EMAIL PROTECTED]> wrote:
>
>
>
> 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
> >
>
--
with love
sreeprasad
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---