views:

44

answers:

0

I noticed that the examples in the Rails 3 Action Mailer Basics guide use HTML5 doctype tag <!DOCTYPE html> for HTML emails. Older Rails 2 guide examples use Transitional doctype. As far as I know, HTML emails must use the most basic, old-style HTML code with some deprecated tags, so various email clients display it properly. This suggests to me that doctype should not be used at all for this purpose. Am I wrong or does doctype really serve some use in this case?