Student wrote:
> Morning light can do funny things. I was doing smtp_settings= in the
> child class, not ActionMailer::Base.
> Now I'm getting an smtp authentication error--I expect a typo.
Another problem, just in case someone else comes across this thead,
(like i did), is when you use :smtp, you must specify a :domain inthe
settings, even if you don't use authentication. I had this problem.
(Among others)
<code>
ActionMailer::Base.smtp_settings = {
:address => "localhost",
:port => 25,
:domain => 'yourdomainhere.com'
}
</code>
Cheers!
-Anthony Altemara
http://AltemaraIT.com
--
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 [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
-~----------~----~----~----~------~----~------~--~---