Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
In #808518: API change: Split mail preparation from sending, Mime Mail module is preparing an API change. Now mimemail() returns a boolean but after this API change will return an array with the whole message. The actual boolean will be included in return array as key "result".
From PHPDoc:
* @return
* An array containing the MIME encoded message, including headers and body.
Send must adapt to the new Mime Mail API.
Comment | File | Size | Author |
---|---|---|---|
#1 | send.1154140_01.patch | 1.28 KB | sgabe |
Comments
Comment #1
sgabe CreditAttribution: sgabe commentedSee the attached patch with backwards compatibility for previous versions of Mime Mail.