Skip to content

Commit cf548d9

Browse files
committed
Merge pull request nu7hatch#40 from slash4/patch-1
Adding the content-type text/html on multipart readme example
2 parents b5956fd + fbf118e commit cf548d9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -235,6 +235,7 @@ email either, because ruby-gmail will set it for you.
235235
body "Text of plaintext message."
236236
end
237237
html_part do
238+
content_type 'text/html; charset=UTF-8'
238239
body "<p>Text of <em>html</em> message.</p>"
239240
end
240241
add_file "/path/to/some_image.jpg"

0 commit comments

Comments
 (0)