Displaying 1 result from an estimated 1 matches for "smpt_settings".
Did you mean:
set_settings
2009 Jul 28
6
how to set smpt server for our rails applicaion
...-in for
authentication in my application. i want to send a activation link to
the user''s mail-id.
for that i need to set the smpt server for our rails application, for
that i added the follwing code in config/environment.rb file
ActionMailer::Base.delivery_method:smpt
ActionMailer::Base.smpt_settings = {
:address => "localhost",
:port => 25,
:authentication=> :login,
:user_name => "my_username",
:password => "my_password"
}
but when i try to run the server it gives the following errors
G:\my\MyMovies>ru...