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
In the mail i got total code same format what is the wrong
I am also sending the total code in the controller also.
order = Order.find_by_name(“admin”)
email = OrderMailer.create_confirm(order)
render(:text => “
” + email.encoded + “”)
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.