提交 2263769c 编写于 作者: M MQuy

Add changelog for custom content type

上级 c4639b77
......@@ -3,4 +3,16 @@
*Jeremy Daer*
* Mime type: allow to custom content type when setting body in headers
and attachments.
Example:
def test_emails
attachments["invoice.pdf"] = "This is test File content"
mail(body: "Hello there", content_type: "text/html")
end
*Minh Quy*
Please check [5-0-stable](https://github.com/rails/rails/blob/5-0-stable/actionmailer/CHANGELOG.md) for previous changes.
......@@ -533,6 +533,10 @@ Please refer to the [Changelog][action-mailer] for detailed changes.
whether your templates should perform caching or not.
([Pull Request](https://github.com/rails/rails/pull/22825))
* Added support for custom `content_type` when setting body in
headers and attachments.
([Pull Request](https://github.com/rails/rails/pull/27227))
Active Record
-------------
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册