challengepost-postmark 0.7.2 → 0.7.3
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/challengepost-postmark.gemspec +1 -1
- data/lib/postmark.rb +1 -1
- metadata +2 -2
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.7.
|
1
|
+
0.7.3
|
data/lib/postmark.rb
CHANGED
@@ -112,7 +112,7 @@ module Postmark
|
|
112
112
|
if message.multipart?
|
113
113
|
options["HtmlBody"] = message.html_part.body.to_s
|
114
114
|
options["TextBody"] = message.text_part.body.to_s
|
115
|
-
elsif message.content_type
|
115
|
+
elsif message.content_type && message.content_type.match(/^text\/html/)
|
116
116
|
options["HtmlBody"] = message.body.to_s
|
117
117
|
else
|
118
118
|
options["TextBody"] = message.body.to_s
|