Problem/Motivation
After installing the module I got:
Error sending email (from *** to *** with reply-to 1).
After debugging I found:
$this->mailManager->mail('admin_content_notification', $key, $admin_email, 'en', $params, TRUE);
however mail exepts string|null, not TRUE.
Proposed resolution
Will provide the patch.
Remaining tasks
None.
User interface changes
None.
API changes
None.
Data model changes
None.
Release notes snippet
None.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | admin_content_notification_error-sending-email-3016454-3.patch | 784 bytes | ruslan piskarov |
Comments
Comment #2
ruslan piskarovAdding the patch. Please review.
Comment #3
ruslan piskarovSorry.
In the previous patch, I was wrong. After testing I got: "Error sending email (from *** to *** with reply-to not set)".
Attaching a new one.
Comment #6
manish.upadhyay commentedComment #7
manish.upadhyay commentedComment #8
manish.upadhyay commented