When i change to show erros from action mailer, i get:

wrong # of arguments(3 for 2)
D:/www/teste_235/vendor/plugins/action_mailer_optional_tls/lib/smtp_tls.rb:33:in
`check_auth_args'
D:/www/teste_235/vendor/plugins/action_mailer_optional_tls/lib/smtp_tls.rb:33:in
`do_tls_start'
D:/www/teste_235/vendor/plugins/action_mailer_optional_tls/lib/smtp_tls.rb:18:in
`start'
D:/www/teste_235/vendor/plugins/action_mailer_optional_tls/lib/smtp_tls.rb:10:in
`start'
D:/www/teste_235/vendor/plugins/action_mailer_optional_tls/lib/action_mailer_tls.rb:9:in
`perform_delivery_smtp'
D:/www/teste_235/vendor/rails/actionmailer/lib/action_mailer/base.rb:523:in
`deliver!'
D:/www/teste_235/vendor/rails/actionmailer/lib/action_mailer/base.rb:395:in
`method_missing'
D:/www/teste_235/app/models/job_teste.rb:7:in `perform'
D:/www/teste_235/vendor/plugins/delayed_job/lib/delayed/job.rb:217:in
`invoke_job'
D:/www/teste_235/vendor/plugins/delayed_job/lib/delayed/job.rb:92:in
`run_with_lock'
D:/Servidor/jruby/lib/ruby/1.8/benchmark.rb:308:in `realtime'
D:/www/teste_235/vendor/plugins/delayed_job/lib/delayed/job.rb:91:in
`run_with_lock'
D:/www/teste_235/vendor/plugins/delayed_job/lib/delayed/job.rb:155:in
`reserve_and_run_one_job'
D:/www/teste_235/vendor/plugins/delayed_job/lib/delayed/job.rb:154:in `each'
D:/www/teste_235/vendor/plugins/delayed_job/lib/delayed/job.rb:154:in
`reserve_and_run_one_job'
D:/www/teste_235/vendor/plugins/delayed_job/lib/delayed/job.rb:201:in
`work_off'
D:/www/teste_235/vendor/plugins/delayed_job/lib/delayed/job.rb:200:in
`times'
D:/www/teste_235/vendor/plugins/delayed_job/lib/delayed/job.rb:200:in
`work_off'
D:/www/teste_235/vendor/plugins/delayed_job/lib/delayed/worker.rb:28:in
`start'
D:/Servidor/jruby/lib/ruby/1.8/benchmark.rb:308:in `realtime'
D:/www/teste_235/vendor/plugins/delayed_job/lib/delayed/worker.rb:27:in
`start'
D:/www/teste_235/vendor/plugins/delayed_job/lib/delayed/worker.rb:24:in
`loop'
D:/www/teste_235/vendor/plugins/delayed_job/lib/delayed/worker.rb:24:in
`start'
D:/www/teste_235/vendor/plugins/delayed_job/tasks/tasks.rb:13
D:/Servidor/jruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:636:in
`call'
D:/Servidor/jruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:636:in
`execute'
D:/Servidor/jruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:631:in
`each'
D:/Servidor/jruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:631:in
`execute'
D:/Servidor/jruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:597:in
`invoke_with_call_chain'
D:/Servidor/jruby/lib/ruby/1.8/monitor.rb:242:in `mon_synchronize'
D:/Servidor/jruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:590:in
`invoke_with_call_chain'
D:/Servidor/jruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:583:in
`invoke'
D:/Servidor/jruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2051:in
`invoke_task'
D:/Servidor/jruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in
`top_level'
D:/Servidor/jruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in
`each'
D:/Servidor/jruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in
`top_level'
D:/Servidor/jruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in
`standard_exception_handling'
D:/Servidor/jruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2023:in
`top_level'
D:/Servidor/jruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2001:in
`run'
D:/Servidor/jruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in
`standard_exception_handling'
D:/Servidor/jruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:1998:in
`run'
D:/Servidor/jruby/lib/ruby/gems/1.8/gems/rake-0.8.7/bin/rake:31
D:/Servidor/jruby/lib/ruby/gems/1.8/gems/rake-0.8.7/bin/rake:19:in `load'
D:/Servidor/jruby/bin/rake:19

2009/12/5 Paulo Coutinho <[email protected]>

> Im using the normal configuration in "/config/environment.rb":
>
> # Configuração do smtp
> ActionMailer::Base.default_content_type = 'text/html'
> ActionMailer::Base.delivery_method = :smtp
> ActionMailer::Base.smtp_settings = {
>   :tls => true,
>   :address => 'smtp.gmail.com',
>   :port => 587,
>   :domain => 'mydomain.com',
>   :authentication => :plain, # pode usar também :login
>   :user_name => 'my_email',
>   :password => 'my_pass'
> }
>
>
>
> 2009/12/5 Dhruva Sagar <[email protected]>
>
> In your config/environments/development.rb, have you configured things
>> properly for ActionMailer ?
>> What is your config for config.action_mailer.raise_delivery_errors ? it
>> should be set to true for it to report errors.
>> You will have to give more details regarding your mail server as well...
>>
>> Thanks & Regards,
>> Dhruva Sagar.
>>
>>
>>
>>
>> On Sat, Dec 5, 2009 at 8:14 AM, Paulo Coutinho <[email protected]>wrote:
>>
>>> I have application that i send email normal with native ruby.
>>>
>>> But when i execute the sample application with jruby, it dont send email
>>> and dont get error.
>>>
>>> What can be wrong?
>>>
>>> --
>>> Atenciosamente,
>>> Paulo Coutinho.
>>> Blog: www.prsolucoes.com/blog
>>> Site: www.prsolucoes.com
>>> Msn:  [email protected]
>>>
>>> --
>>> 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 [email protected].
>>> To unsubscribe from this group, send email to
>>> [email protected]<rubyonrails-talk%[email protected]>
>>> .
>>> For more options, visit this group at
>>> http://groups.google.com/group/rubyonrails-talk?hl=en.
>>>
>>
>>  --
>> 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 [email protected].
>> To unsubscribe from this group, send email to
>> [email protected]<rubyonrails-talk%[email protected]>
>> .
>> For more options, visit this group at
>> http://groups.google.com/group/rubyonrails-talk?hl=en.
>>
>
>
>
> --
> Atenciosamente,
> Paulo Coutinho.
> Blog: www.prsolucoes.com/blog
> Site: www.prsolucoes.com
> Msn:  [email protected]
>



-- 
Atenciosamente,
Paulo Coutinho.
Blog: www.prsolucoes.com/blog
Site: www.prsolucoes.com
Msn:  [email protected]

--

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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.


Reply via email to