Skip to content
Snippets Groups Projects
Commit adc6c8ce authored by Stephan Bosch's avatar Stephan Bosch
Browse files

Removed header MIME-decoding for other instances where addresses need to be parsed.

parent a2d09e04
No related branches found
No related tags found
No related merge requests found
......@@ -245,7 +245,7 @@ void ext_notify_construct_message
p += 6;
/* Fetch sender from oriinal message */
if ( mail_get_headers_utf8(msgdata->mail, "from", &header) >= 0 )
if ( mail_get_headers(msgdata->mail, "from", &header) >= 0 )
str_append(out_msg, header[0]);
} else if ( strncasecmp(p, "$env-from$", 10) == 0 ) {
......
......@@ -1074,7 +1074,7 @@ static bool act_vacation_commit
*/
hdsp = _my_address_headers;
while ( *hdsp != NULL ) {
if ( mail_get_headers_utf8
if ( mail_get_headers
(msgdata->mail, *hdsp, &headers) >= 0 && headers[0] != NULL ) {
if ( _contains_my_address(headers, recipient) ) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment

Consent

On this website, we use the web analytics service Matomo to analyze and review the use of our website. Through the collected statistics, we can improve our offerings and make them more appealing for you. Here, you can decide whether to allow us to process your data and set corresponding cookies for these purposes, in addition to technically necessary cookies. Further information on data protection—especially regarding "cookies" and "Matomo"—can be found in our privacy policy. You can withdraw your consent at any time.