Skip to content

Commit

Permalink
Merge pull request nu7hatch#40 from slash4/patch-1
Browse files Browse the repository at this point in the history
Adding the content-type text/html on multipart readme example
  • Loading branch information
nu7hatch committed Sep 16, 2011
2 parents b5956fd + fbf118e commit cf548d9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,7 @@ email either, because ruby-gmail will set it for you.
body "Text of plaintext message."
end
html_part do
content_type 'text/html; charset=UTF-8'
body "<p>Text of <em>html</em> message.</p>"
end
add_file "/path/to/some_image.jpg"
Expand Down

0 comments on commit cf548d9

Please sign in to comment.