Have you checked script/console to see if it at least generates the
message? Even if it cannot contact the server it should at the very
minimum show you that's it attempting to send the message..
The only thing that you are doing differently than what I do is I don't
use any of the individual environment files.
I put my mail settings directly in environment.rb at the very bottom..
# Set up email server
ActionMailer::Base.delivery_method = :smtp
ActionMailer::Base.smtp_settings = {
:address => "mail.domain.com" ,
:domain => "domain.com" ,
:authentication => :login,
:user_name => "[email protected]" ,
:password => "secret"
}
# CONSTANTS BELOW
#
# Define our mail recipient
CONTACT_RECIPIENT = "[email protected]"
--
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
-~----------~----~----~----~------~----~------~--~---