Hi all
I have two Rails applications, an older one and a recent one.
I want to send mails with my recent app, so I just copied the following
lines from the old app to the new''s environment.rb:
ActionMailer::Base.server_settings = {
:address => "mail.josh.ch",
:port => 25,
:domain => "mail.josh.org",
:authentication => :login,
:user_name => "???",
:password => "???",
}
ActionMailer::Base.default_charset = "utf-8"
ActionMailer::Base.delivery_method = :smtp
ActionMailer::Base.perform_deliveries = true
ActionMailer::Base.raise_delivery_errors = true
But when trying to send mail I receive the following error:
Net::SMTPFatalError in WarenkorbController#bestellung_abgeben
550 Administrative prohibition
But the older app still works with these settings! But the new one
doesn''t! I just don''t get it, what could go wrong here?
Thanks a lot for help.
Joshua
--
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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk
-~----------~----~----~----~------~----~------~--~---