If you are using gmail for sending from both servers do you have the
action_mailer_optional_tls
plugin installed in /vendor/plugins?
and in config.rb
config.after_initialize do
# Add new inflection rules using the following format:
ActiveSupport::Inflector.inflections do |inflect|
inflect.uncountable 'config'
end
ActionMailer::Base.perform_deliveries = true
ActionMailer::Base.delivery_method = :smtp
ActionMailer::Base.smtp_settings = {
:tls => true, # <------
:address => "smtp.gmail.com",
:port => "587",
:domain => "",
:authentication => :plain,
:user_name => "",
:password => ""
}
end
I don't know if the action_mailer_optional_tls is required for 1.8.7, but it is
something to look at...
On 4 Dec 2009, at 14:45, Mauricio Dulce wrote:
> Hello, i have work whit radiant and Mailer extension but this not send
> emails and redirect to page of thank-you, After giving click in email,
> this reloads the same page pages/3/mail#mailer and I have this in the
> log shows no error, this on production servers that have hired.
>
> www.domain.com/contctenos hosted in site5
>
> Processing MailController#create (for ip at 2009-12-03 14:01:19) [POST]
> Parameters: {"action"=>"create", "page_id"=>"3",
> "mailer"=>{"company"=>"xx", "required"=>{"name"=>"true",
> "subject"=>"true", "message"=>"true", "email"=>"true"},
> "name"=>"xxxx", "country"=>"xxxx", "City"=>"Bogotá",
> "subject"=>"test", "phone"=>"000000", "Address"=>"Address",
> "message"=>"test text ", "email"=>"[email protected]"},
> "controller"=>"mail"}
> Sent mail to [email protected]
> Completed in 268ms (View: 0, DB: 49) | 200 OK [http://domain.com/pages/3/mail
> ]
>
>
> -----------------------------------------------------------------------------------------------------------------------------------------------------
>
> in another company where I have hired a normal plan and not a
> dedicated server, I will work correctly and they are CENTO, Support
> tells me to be somewhat lost and not to do, here I put the log of
> another company where we see that the extension works, I'm using
> google for sending emails.
>
>
>
> Processing MailController#create (for IP at 2009-12-03 21:02:04) [POST]
> Parameters: {"action"=>"create", "page_id"=>"3",
> "mailer"=>{"company"=>"xx", "required"=>{"name"=>"true",
> "subject"=>"true", "message"=>"true", "email"=>"true"},
> "name"=>"xxxx", "country"=>"xxxx", "City"=>"Bogotá",
> "subject"=>"test", "phone"=>"000000", "Address"=>"Address",
> "message"=>"test text ", "email"=>"[email protected]"},
> "controller"=>"mail"}
> Sent mail to [email protected]
> Redirected to http://domain2.test.com/contact/thank-you
> Completed in 2580ms (DB: 17) | 302 Found
> [http://domain2.test.com/pages/3/mail
> ]
>
>
> Processing SiteController#show_page (for IP at 2009-12-03 21:02:07)
> [GET]
> Parameters: {"url"=>["contact", "thank-you"], "action"=>"show_page",
> "controller"=>"site"}
> Completed in 920ms (DB: 427) | 404 [http://domain2.test.com/contact/thank-you
> ]
>
> I lost in this problem, you have any suggestion to fix this problem
>
> config of the both server
>
> CENTOS 5.4 x86_64 standard
> Rails 2.3.4
> ruby 1.8.7 (2008-06-20 patchlevel 22) [x86_64-linux]
> Site 5
> X-Powered-By: Phusion Passenger (mod_rails/mod_rack) 2.2.4, Enterprise
> Edition
> Other Server
> X-Powered-By: Phusion Passenger (mod_rails/mod_rack) 2.2.5
>
>
> _______________________________________________
> Radiant mailing list
> Post: [email protected]
> Search: http://radiantcms.org/mailing-list/search/
> Site: http://lists.radiantcms.org/mailman/listinfo/radiant
_______________________________________________
Radiant mailing list
Post: [email protected]
Search: http://radiantcms.org/mailing-list/search/
Site: http://lists.radiantcms.org/mailman/listinfo/radiant