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.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

jribeiro’s picture

Issue summary: View changes
jhedstrom’s picture

Assigned: Unassigned » jhedstrom

I'll take a look at this.

jhedstrom’s picture

Status: Active » Needs review
FileSize
4.81 KB

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

jribeiro’s picture

Assigned: jhedstrom » Unassigned
Status: Needs review » Fixed

Tested and committed on 8.x-dev branch.

Thanks jhedstrom.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.