Displaying 5 results from an estimated 5 matches for "deliver_confirm".
2006 May 09
1
Emailcontewnt problem
...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 = OrderMailer.deliver_confirm(order)
render(:text => "<pre>" + email.encoded + "</pre>")
Please help me to solve this problem
Thanks and Regards,
--
Posted via http://www.ruby-forum.com/.
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 only what is the reason!
Thnaks and Regards,
Kumar
--
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 error
in production. Why would it work in one environment and not the other?
--
Posted via http://www.ruby-forum.com/.
2007 Nov 11
0
ActionMailer Difficulties
...n = Time.now
end
And my confirm page set up as follows
Dear <%= @user.name %>
<%= @sender.login %> has sent you the following message %>
<%= @message %>
Now, if I let @user be some user and @sending_user be some other user,
if I work from the console with
MessageSender.deliver_confirm("Message!", @sending_user, @user)
it works, and I see the message in the hash built by the test mode.
But if I use the following code
def send_message
@user = (session[:looked_upon_user])
@sending_user = User.find(session[:user_id])
@message = (params[:message])
MessageSender.delive...
2006 May 17
8
Html Email Problem
...order= Order.find_session(params[''ses_value''])
order = Order.find_by_name("admin")
email = OrderMailer.create_confirm(order)
email.set_content_type("text/html")
render(:text => "<pre>" + email.encoded + "</pre>")
OrderMailer.deliver_confirm(order)
I also saw the message i.e content type has changed to text/html
What is the problm I searching for solution since one month.
Please give me the references.
With Regards,
-Keyon
--
Posted via http://www.ruby-forum.com/.