Mailer Extension Error Log

View: New views
7 Messages — Rating Filter:   Alert me  

Mailer Extension Error Log

by benmorrow :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


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@...", "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 => "user@...",
    :password => "pword"
    }
    config.action_mailer.perform_deliveries = :true
    config.action_mailer.raise_delivery_errors = :true
--~--~---------~--~----~------------~-------~--~----~
Radiant CMS Dev Mailing List
Post:        radiantcms-dev@...
Unsubscribe: radiantcms-dev-unsubscribe@...
Group Site:  http://groups.google.com/group/radiantcms-dev/
-~----------~----~----~----~------~----~------~--~---


Re: Mailer Extension Error Log

by john muhl-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


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

On Tue, Oct 13, 2009 at 2:27 PM, benmorrow <vivxdesign@...> wrote:

>
> 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@...", "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 => "user@...",
>    :password => "pword"
>    }
>    config.action_mailer.perform_deliveries = :true
>    config.action_mailer.raise_delivery_errors = :true
> >
>

--~--~---------~--~----~------------~-------~--~----~
Radiant CMS Dev Mailing List
Post:        radiantcms-dev@...
Unsubscribe: radiantcms-dev-unsubscribe@...
Group Site:  http://groups.google.com/group/radiantcms-dev/
-~----------~----~----~----~------~----~------~--~---


Re: Mailer Extension Error Log

by benmorrow :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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]


On Tue, Oct 13, 2009 at 3:20 PM, john muhl <johnmuhl@...> wrote:

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

On Tue, Oct 13, 2009 at 2:27 PM, benmorrow <vivxdesign@...> wrote:
>
> 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@...", "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 => "user@...",
>    :password => "pword"
>    }
>    config.action_mailer.perform_deliveries = :true
>    config.action_mailer.raise_delivery_errors = :true
> >
>




--~--~---------~--~----~------------~-------~--~----~
Radiant CMS Dev Mailing List
Post:        radiantcms-dev@...
Unsubscribe: radiantcms-dev-unsubscribe@...
Group Site:  http://groups.google.com/group/radiantcms-dev/

-~----------~----~----~----~------~----~------~--~---


Re: Mailer Extension Error Log

by Anna Billstrom :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


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

--~--~---------~--~----~------------~-------~--~----~
Radiant CMS Dev Mailing List
Post:        radiantcms-dev@...
Unsubscribe: radiantcms-dev-unsubscribe@...
Group Site:  http://groups.google.com/group/radiantcms-dev/
-~----------~----~----~----~------~----~------~--~---


Re: Mailer Extension Error Log

by john muhl-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


On Tue, Oct 27, 2009 at 3:03 AM, Anna <banane@...> 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?

> 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
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
Radiant CMS Dev Mailing List
Post:        radiantcms-dev@...
Unsubscribe: radiantcms-dev-unsubscribe@...
Group Site:  http://groups.google.com/group/radiantcms-dev/
-~----------~----~----~----~------~----~------~--~---


Re: Mailer Extension Error Log

by Mauricio Dulce :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello i Have the same problem in Site5, what is the possible solution
for this

--
Radiant CMS Dev Mailing List
Post:        radiantcms-dev@...
Unsubscribe: radiantcms-dev-unsubscribe@...
Group Site:  http://groups.google.com/group/radiantcms-dev/

Re: Mailer Extension Error Log

by Mauricio Dulce :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello, i have the same problem in site5, the extension work correctly
in my mac, you have a possible solution to fix this problem.

--
Radiant CMS Dev Mailing List
Post:        radiantcms-dev@...
Unsubscribe: radiantcms-dev-unsubscribe@...
Group Site:  http://groups.google.com/group/radiantcms-dev/