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) -

javascript - angular ng-required radio button not toggling required off in firefox 33, OK in chrome -

xcode - Swift Playground - Files are not readable -