On Sep 1, 7:01 am, Sijo Kg
<rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org>
wrote:> Hi
> As of now I had been running my server in development mode. And for
> mail sending in confif/environments/development.rb I have configured the
> mailsending method,port etc and they are working properly .Now I would
> like to run server on production mode. My current settings in the
> development.rb is as follows
>
> # Don''t care if the mailer can''t send
> config.action_mailer.raise_delivery_errors = true
> #set delivery method to :smtp, :sendmail or :test
> config.action_mailer.delivery_method = :smtp
> #Following options are needed if the dlivery method is :smtp
> config.action_mailer.smtp_settings = {
> :address => "mail.domain.com",
> :port => 25,
> :domain => ''domainname'',}
>
> So my question is when I run server on production environment can
> i copy the above to config/environments/production.rb Is that only
> needed to make the mail sending work on production mode Any other
> configuration do i need?Please help
>
It depends. If those details are correct and your mail server doesn''t
require authentication then that will be enough.
Fred
--~--~---------~--~----~------------~-------~--~----~
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
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---