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