Method: Asterisk::Mailcmd::Email#html_tmpl
- Defined in:
- lib/asterisk/mailcmd/email.rb
#html_tmpl(tmpl_text) ⇒ Object
76 77 78 79 80 81 82 83 84 |
# File 'lib/asterisk/mailcmd/email.rb', line 76 def html_tmpl tmpl_text tmpl tmpl_text, :html data = @htmlpart cnt_type = 'text/html; charset='<<get_charset @mail.html_part = Mail::Part.new do content_type cnt_type body data end end |