Displaying 1 result from an estimated 1 matches for "miscellanycontrol".
2008 May 03
2
backgroundrb / actionmailer / sendmail
...ActionMailer::Base.delivery_method = :sendmail
ActionMailer::Base.raise_delivery_errors = true
ActionMailer::Base.default_content_type = ''text/html''
Now, when doing the request from rails itself, no problem, I get the email
instantly. Here''s the controller code:
class MiscellanyController < ApplicationController
def test_email
mail = Notifier.create_test_email
Notifier.deliver(mail)
render :text => mail.body
end
end
What could be the issue? I''m using Ruby 1.8.6, Rails 1.2.5, on Fedora Core
6, Backgroundrb (last updated 2008-02-28)
thanks so much,...