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 hook mail alter you can access mimemail's HTML body text in the following versions:
- Processed:
$message['body'][0]
- Unprocessed:
$message['params']['context']['body']
With the plaintext body however, you can only get:
- Processed:
$message['params']['plaintext']
This is because the variable is processed in place.
It would be good to be able to access the original plain text also.
Comment | File | Size | Author |
---|---|---|---|
#2 | mimemail-original_plaintext-2791317-2.patch | 773 bytes | rooby |
Comments
Comment #2
rooby CreditAttribution: rooby commentedComment #3
sgabe CreditAttribution: sgabe commentedThis is more like a feature request.