Displaying 9 results from an estimated 9 matches for "create_confirmation".
2006 May 09
1
Email -Content type is not set to html
Hi to ROR!
I could not change the email content type to text/html
What is the problem!
order1= Order.find_get_details(params[:ses_value])
#render_text order1.size
order=order1[0]
email = OrderMailer.create_confirm(order)
email.set_content_type("text/html")
email = OrderMailer.deliver_confirm(order)
email.set_content_type("text/html")
Alwas it shows only plain format
2006 May 09
1
Emailcontewnt problem
I ma facing problems regarding the email-set-contentent
I am writing the total code for
order1= Order.find_get_details(params[:ses_value])
#render_text order1.size
order=order1[0]
email.set_content_type("text/html")
email = OrderMailer.create_confirm(order)
email.set_content_type("text/html")
email = OrderMailer.deliver_confirm(order)
#email =
2006 Jun 05
1
Action Mailer contact form
I am trying to use Rails and the Action mailer to create a simple contact
form on a website. I am using a table-less model to validate the form
contents, then trying to use the Action Mailer chapter of the "Agile Web Development
with Rails" book as a pattern to develop the send e-mail portion. I am
having trouble getting it working and was hoping someone could point me in the
2006 May 17
8
Html Email Problem
Dear Rubyians,
I am facing problems to send Html Email scnce one month.
I changed the content type is text/html and charecter set "utf-8"
I worte the html code in the confirm.heml in the action mailer folder.
but mail is going with html code
Exapmle: <html border="2"> <tr><td></td></tr></html> code in the
confirm .html
In the
2006 Apr 27
11
Action Mailer Error!!!
What does this mean?
Bad file descriptor - connect(2)
--
Posted via http://www.ruby-forum.com/.
2006 Jan 05
1
ActionMailer in production vs development environments?
I''m using ActionMailer to write an email message; for the time being I''m
creating an email object, but rendering it in the browser instead of
sending it. I have code like this:
email = PasswordMailer.deliver_confirm(@member)
render(:text => "<pre>" + email.encoded + "</pre>")
This works great in the development environment but throws a Rails
2009 Jul 30
0
Problem with implicit multipart emails using ActionMailer in Rails 2.3.3
...@from = ''test.sender-hcDgGtZH8xNBDgjK7y7TUQ@public.gmane.org''
@sent_on = sent_at
@headers = {}
end
end
I have two views called confirmation.text.plain.erb and
confirmation.text.html.erb
In a unit test, for debug purposes, I have:
sent = Notifications.create_confirmation
puts sent.to_s
The resulting message looks like this:
--------------------------------------------------------------------
Date: Thu, 30 Jul 2009 17:45:04 -0400
From: test.sender-hcDgGtZH8xNBDgjK7y7TUQ@public.gmane.org>
To: test.recipient-hcDgGtZH8xNBDgjK7y7TUQ@public.gmane.org
Subject: Than...
2007 Nov 17
2
ActionMailer 501: sender address must contain a domain
Hi there guys!
Im copying an email example from "Agile web development with rails", but
i keep getting a "501: sender address must contain a domain" error.
Heres my code in my enviroment.rb. Real values replaced with
"something":
[code]
config.action_mailer.delivery_method = :smtp
config.action_mailer.default_charset ="utf-8"
2007 Feb 04
10
Spec''ing ActionMailer
Good morning (Pacific Time). I have a controller action that, as a
side-effect, sends an email to an administrator. I want it to do
something like this:
specify "when someone successfully signs up, an email should be sent
to the administrator with the person''s contact page" do
post :signup, {...lots o'' params}
response should_be success
#