[Rails] sending emails
Dennis Baldwin
dbaldwin at sensorlogic.com
Thu Jul 27 22:58:31 GMT 2006
Check that your environment specific config doesn't have the following
line in it:
config.action_mailer.delivery_method = :test
Or else the email will be routed to the corresponding log file. This
generally only applies to the test environment, but I wanted to point it
out (check development.rb).
-----Original Message-----
From: rails-bounces at lists.rubyonrails.org
[mailto:rails-bounces at lists.rubyonrails.org] On Behalf Of Raj Kapila
Sent: Thursday, July 27, 2006 5:54 PM
To: rails at lists.rubyonrails.org
Subject: [Rails] sending emails
Hi, i am running a rails web application on freebsd.
I am having troubles sending emails.
i have this:
ActionMailer::Base.server_settings = {
:address => 'smtp.mydomain.com',
:domain => 'mydomain.com',
:port => 25,
:user_name => 'user',
:password => 'password',
:authentication=>:login
}
in environment.rb.
When i send an email through rails nothing happens. What else do i need
to do?
--
Posted via http://www.ruby-forum.com/.
_______________________________________________
Rails mailing list
Rails at lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails
More information about the Rails
mailing list