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.
The function drupal_mail() was removed from Drupal 8 Beta.
PHP Fatal error: Call to undefined function drupal_mail()
We need to replace by the new equivalent function/method.
Comment | File | Size | Author |
---|---|---|---|
#3 | login-security-drupal-mail-2417253-02.patch | 4.81 KB | jhedstrom |
Comments
Comment #1
jribeiro CreditAttribution: jribeiro commentedComment #2
jhedstromI'll take a look at this.
Comment #3
jhedstromThis patch depends on #2420075: Parameter 1 to login_security_user_update() expected to be a reference.. I also added a test for the blocked email. Testing the activity email looks a bit more complicated.
Comment #5
jribeiro CreditAttribution: jribeiro commentedTested and committed on 8.x-dev branch.
Thanks jhedstrom.