aboutsummaryrefslogblamecommitdiffstats
path: root/actionmailer/CHANGELOG.md
blob: 6bef8fc7e31f3335cd9c2aaf6798c7ddd887481e (plain) (tree)
1
2
3
4
5



                                                                        
 











                                                                        
                                                                                                                         
*   Exception handling: use `rescue_from` to handle exceptions raised by
    mailer actions, by message delivery, and by deferred delivery jobs.

    *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.