Forum: Ruby on Rails Action Mailer

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
670a8a2f96614bd8649d05501ad6b6dd?d=identicon&s=25 Senthil Krishnamoorthy (ksenthil_07081981)
on 2007-01-10 10:28

I am new to ruby on rails, i am trying to send mail using Actionmailer,
but some time the mailer delivers the mail and some time it doesn't do
any action. I included my configuration setting below. Any body please
help me on this i am really struggling on this. do |config|
# Settings in config/environments/* take precedence those specified here

# Skip frameworks you're not going to use (only works if using
# config.frameworks -= [ :action_web_service, :action_mailer ]

# Add additional load paths for your own custom dirs
# config.load_paths += %W( #{RAILS_ROOT}/extras )

# Force all environments to use the same logger level
# (by default production uses :info, the others :debug)
# config.log_level = :debug

# Use the database for sessions instead of the file system
# (create the session table with 'rake db:sessions:create')
# config.action_controller.session_store = :active_record_store

# Use SQL instead of Active Record's schema dumper when creating the
test database.
# This is necessary if your schema can't be completely dumped by the
schema dumper,
# like if you have constraints or database-specific column types
# config.active_record.schema_format = :sql

# Activate observers that should always be running
# config.active_record.observers = :cacher, :garbage_collector

# Make Active Record use UTC-base instead of local time
# config.active_record.default_timezone = :utc

# See Rails::Configuration for more options
ActionMailer::Base.server_settings = {
:address => "myaddress",
:port => 25,
:domain => "mydomainname",
:authentication => :login,
:user_name => "",
:password => "mypassword"
config.action_mailer.delivery_method = :smtp
ActionMailer::Base.perform_deliveries = true
ActionMailer::Base.raise_delivery_errors = true
ActionMailer::Base.default_charset = "utf-8"


K Senthil
670a8a2f96614bd8649d05501ad6b6dd?d=identicon&s=25 Senthil Krishnamoorthy (ksenthil_07081981)
on 2007-01-31 10:07
Please anybody reply me

This topic is locked and can not be replied to.