Pass recipient uid to drupal_mail()

Created on 30 March 2015, over 9 years ago
Updated 17 September 2024, 3 months ago

I needed recipient $uid in hook_mail_alter, I'm attaching a patch for this in case if others will find this useful.
Also $languages array wasn't initialised in this scope.

✨ Feature request
Status

Closed: outdated

Version

1.0

Component

Code

Created by

πŸ‡¬πŸ‡§United Kingdom PawelR

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024