Hey all, well I am trying to send emails to newly created users but I
have a problem.

In the rails log it states that the email has been sent but the email is
never actually received so obviously there is a problem.

I have noticed one in particular and I don't understand how to fix it.
Once I create the user I get the following error message:

Net::SMTPAuthenticationError (535-5.7.1 Username and Password not
accepted.

How do I set a username and password?

I have the following in my development.rb:

  config.action_mailer.raise_delivery_errors = false

  # config.action_mailer.delivery_method = :smtp

        config.action_mailer.smtp_settings = {
                :address => "smtphost.aber.ac.uk",
                :port    => 25,
                :domain  => "Christopher-PC"
        }
        ADMIN_EMAIL="chris230...@aol.com"

Any help would be much appreciated. Thanks.

-- 
Posted via http://www.ruby-forum.com/.

-- 
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 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to