ruby on rails - Net::HTTPBadResponse (wrong status line: "<html>") -


i using active admin save email templates. using mail gun send emails.

the whole process works absolutely fine if define email boday text such as:

body = "this text in email" 

if attempt use template made in active admin so:

body = load_rendered_template("new_quote_email") 

i error: wrong status line: '<html>'

the app using ssl have it? same error both in production , development.


Comments

Popular posts from this blog

c++ - QTextObjectInterface with Qml TextEdit (QQuickTextEdit) -

xcode - Swift Playground - Files are not readable -

jboss7.x - JBoss AS 7.3 vs 7.4 and differences -