-
-
Save joshdholtz/1854218 to your computer and use it in GitHub Desktop.
Postmark w/Padrino
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Add me in lib or somewhere | |
# lib/postmark_patch.rb | |
Mail::Message.class_eval do | |
def html? | |
content_type_without_symbol && content_type_without_symbol.include?('text/html') | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment