메신저 액션 메일러와 이메일을 보내려고 그리고 그것은 나에게주는 Timeout::Error (execution expired):
는 전자 메일이 전송되는 것을 말한다 콘솔에서 비록 : 는Actionmailer "Timeout :: Error"에 문제가 있습니까?
Sent mail to [email protected]
다음 다음 전송 된 전자 메일을 디스플레이의 표시
config.cache_classes = false
config.whiny_nils = true
config.action_controller.consider_all_requests_local = true
config.action_view.debug_rjs = true
config.action_controller.perform_caching = false
config.action_mailer.raise_delivery_errors = true
config.action_mailer.delivery_method = :smtp
config.action_mailer.smtp_settings = {
:enable_starttls_auto => true,
:address => "smtp.gmail.com",
:port => 587,
:domian => "gmail.com",
:authentication => :login,
:user_name => "username",
:password => "blablabla",
}
나는 또한 TR : 여기
Timeout::Error (execution expired):
/usr/lib/ruby/1.8/timeout.rb:60:in `open'
/usr/lib/ruby/1.8/net/smtp.rb:551:in `do_start'
/usr/lib/ruby/1.8/net/smtp.rb:551:in `do_start'
/usr/lib/ruby/1.8/net/smtp.rb:525:in `start'
app/models/appointment.rb:10:in `tomorrows_appointments'
app/models/appointment.rb:8:in `each'
app/models/appointment.rb:8:in `tomorrows_appointments'
app/controllers/show_appointments_controller.rb:11:in `send_email'
-e:2:in `load'
-e:2
Rendered rescues/_trace (35.8ms)
Rendered rescues/_request_and_response (0.3ms)
Rendering rescues/layout (internal_server_error)
내 설정이다 : 그것은 다음과 같은 오류를 보여줍니다
authentication
을
:plain
으로 설정하고
[email protected]을 희망없이 사용하는
user_name
으로 설정하십시오.
아이디어