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.
Getting this error with pm_email_notify module (7.x-1.1 version) with empty "From" field in module settings (#1040150: 'Invalid address' error when from email address is left blank). is_null check isn't enough to prevent passing empty string to preg_match(). Fixed with patch.
Comment | File | Size | Author |
---|---|---|---|
mimemail.inc-empty.patch | 727 bytes | InternetDevels | |
Comments
Comment #1
sgabe CreditAttribution: sgabe commentedThank you, committed on both branches.
Comment #3
cimo75 CreditAttribution: cimo75 commentedHi i have the same problem with both dev and, the patch can t be applied since the code has changed.
This is pretty urgent since I can t send newsletter with simplenews.
tx
Simone