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