Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
The mimemail_headers function in mimemail.inc sets no From and Sender headers if they are not set yet.
The lines 59, 62 and 65 should be changed to:
if (!isset($headers['From']) || $headers['From'] == $default_from) etc.
Comment | File | Size | Author |
---|---|---|---|
#2 | Headers_not_correct_set-1391680-2.patch | 896 bytes | marcdecaluwe |
Comments
Comment #1
sgabe CreditAttribution: sgabe commentedCould you attach a patch, please?
Comment #2
marcdecaluwe CreditAttribution: marcdecaluwe commentedIn attachment
Comment #3
sgabe CreditAttribution: sgabe commentedCommitted to both branches, thanks!
Comment #4
Isostar CreditAttribution: Isostar commentedThx for the solution.
For me, this error caused mails to be sent by www-data instead of by the specified sender.