Mailer Extension Error Log

1 view
Skip to first unread message

benmorrow

unread,
Oct 13, 2009, 3:27:37 PM10/13/09
to Radiant CMS: Dev
Does the mailer extension report errors anywhere?

My mail isn't sending and all I see in my production.log is:

Processing SiteController#show_page (for IP at 2009-10-13 12:22:39)
[POST]
Parameters: {"url"=>["contact"], "action"=>"show_page", "mailer"=>
{"city"=>"Plano, TX 75075", "company"=>"Artcrete", "required"=>
{"name"=>"true", "company"=>"true", "city"=>"true",
"streetaddress2"=>"true", "phone"=>"true", "streetaddress"=>"true",
"email"=>"true", "industry"=>"true"}, "name"=>"Ben ",
"TextureTools"=>"", "streetaddress2"=>"", "NewCanvas"=>"",
"phone"=>"214-404-0000", "message"=>"message", "industry"=>"Architect/
Specifier", "email"=>"v...@gmail.com", "streetaddress"=>"123
meandering"}, "controller"=>"site"}
Completed in 272ms (DB: 24) | 200 [http://www.artcrete.com/contact/]

Which seems to be okay.

Also, here are the setting in environment.rb. This was working before,
so I'm not sure where I made a mistake.

ActionMailer::Base.delivery_method = :smtp
ActionMailer::Base.smtp_settings = {
:enable_starttls_auto => true,
:address => "smtp.gmail.com",
:port => 587,
:domain => "domain.com",
:authentication => :plain,
:user_name => "us...@domain.com",
:password => "pword"
}
config.action_mailer.perform_deliveries = :true
config.action_mailer.raise_delivery_errors = :true

john muhl

unread,
Oct 13, 2009, 4:20:04 PM10/13/09
to radiant...@googlegroups.com
if you're using ruby 1.8.6 you need the action_mailer_tls plugin:

cd /radiant/project
script/plugin install git://github.com/caritos/action_mailer_tls.git

see the first comment at http://apidock.com/rails/ActionMailer/Base

Ben Morrow

unread,
Oct 13, 2009, 4:37:21 PM10/13/09
to radiant...@googlegroups.com
Thanks for the quick reply, John. I am running 1.8.7 though.

ruby -v
ruby 1.8.7 (2008-08-11 patchlevel 72) [x86_64-linux]

Anna

unread,
Oct 27, 2009, 4:03:25 AM10/27/09
to Radiant CMS: Dev
I have 1.8.7 and it still required the TLS plugin:

git://github.com/collectiveidea/action_mailer_optional_tls.git

in your server log, you'll see a long bit of acknowledgment with gmail
re: the connection. You should also see the mail that is actually sent
beyond what the hash, which is what you displayed above.

Anna

john muhl

unread,
Oct 27, 2009, 9:54:10 AM10/27/09
to radiant...@googlegroups.com
On Tue, Oct 27, 2009 at 3:03 AM, Anna <ban...@gmail.com> wrote:
>
> I have 1.8.7 and it still required the TLS plugin:

even after adding `:enable_starttls_auto => true` to your action
mailer settings?

Mauricio Dulce

unread,
Dec 4, 2009, 1:05:33 AM12/4/09
to Radiant CMS: Dev
Hello i Have the same problem in Site5, what is the possible solution
for this

Mauricio Dulce

unread,
Dec 4, 2009, 1:10:13 AM12/4/09
to Radiant CMS: Dev
Hello, i have the same problem in site5, the extension work correctly
in my mac, you have a possible solution to fix this problem.
Reply all
Reply to author
Forward
0 new messages