Displaying 7 results from an estimated 7 matches for "default_content_type".
2006 Dec 19
1
mongrel_config has no output
...l
Content-Length: 0
Connection closed by foreign host.
Here is a YAML dump of the $server object:
--- &id001 !ruby/object:Mongrel::HttpServer
acceptor: !ruby/object:Thread {}
classifier: !ruby/object:Mongrel::URIClassifier
handler_map:
/log:
- !ruby/object:Mongrel::DirHandler
default_content_type: application/octet-stream
index_html: index.html
listener: *id001
listing_allowed: true
path: /home/michael/hhp/trebleNation/log
/favicon.ico:
- !ruby/object:Mongrel::Error404Handler
listener: *id001
response: |-
HTTP/1.1 404 Not Found
Con...
2008 May 03
2
backgroundrb / actionmailer / sendmail
...args:
:start: <%= Time.now + 30.seconds %>
:end: <%= Time.now + 10.years %>
:repeat_interval: <%= 20.seconds %>
environment.rb configuration:
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)
r...
2009 Dec 05
7
ActionMailer dont function with JRuby?
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: paulo-QE/7f1ia5mR0ubjbjo6WXg@public.gmane.org
--
You received this message because you are subscribed to the Google Groups
2006 Aug 15
0
ActionMailer
...ort => 25,
:user_name => "myusername",
:password => "mypassword",
:authentication => :login
}
ActionMailer::Base.perform_deliveries = true
ActionMailer::Base.raise_delivery_errors = true
ActionMailer::Base.default_charset = "utf-8"
ActionMailer::Base.default_content_type = "text/html" # default:
"text/plain"
ActionMailer::Base.default_mime_version = "1.0"
ActionMailer::Base.default_implicit_parts_order = [ "text/html",
"text/plain"]
This code isnt working as no emails are beint sent or received. Can
anyone help...
2008 Oct 10
1
emails from rake not being sent as html
I have an email that is sent from either a rake task or from a user
action. When it is sent from the user action it gets delivered as
nicely formatted html. When sent from the rake task it is text, with
all the html code visible.
Is there a setting I am missing?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
2006 Aug 09
5
Action Mailer ...mail done but not received.. (or sent ?)
I am using Action Mailer as stated in RoR book... the mail seems to be
correctly setup..
and I get the following log..
Sent mail:
Date: Wed, 9 Aug 2006 19:54:04 +0200
From: support@alemat.com
To: myself@mac.com
Subject: Your password is ...
Mime-Version: 1.0
Content-Type: text/html; charset=utf-8
_____________
Your username is barbare. Your new password is tDRvfzNvDF. Please login
and change
2006 Nov 04
1
ActionMailer Sending Two text/plain Parts
Hello ~
I have a working ActionMailer Action that takes the template to use as
an argument so I have one action that handles multiple emails. The
email sends just fine, and the correct email templates are used, but
ActionMailer is throwing in its own text/plain section in addition to
the one I specify. Does anyone have any ideas on why this might be
occuring, when I am specificially specifying