lib/chimpster.rb in chimpster-0.1.18 vs lib/chimpster.rb in chimpster-0.1.19
- old
+ new
@@ -41,11 +41,14 @@
@retries = 0
_from = message['from'].to_s
_from = @from unless @from == nil
_to =message['to'].to_s
_to = @to unless @to == nil
+ _html = message.body_html
+ _text = message.body_text
options= {
- :html => "test" ,#message.body.raw_source,
+ :text => _text,
+ :html => _html,
:subject => message.subject,
:from_email => _from,
:to_email => _to.split(',')
}
response = self.send({