X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/e4ad8715562e365707707830f87aa933fc013c6a..58fa98e466c9b59f9352240e86c6349eba21440e:/cookbooks/dmca/files/default/html/index.php?ds=sidebyside diff --git a/cookbooks/dmca/files/default/html/index.php b/cookbooks/dmca/files/default/html/index.php index d81deb70a..47e1afb06 100644 --- a/cookbooks/dmca/files/default/html/index.php +++ b/cookbooks/dmca/files/default/html/index.php @@ -12,7 +12,8 @@ function process_data ($values) { $email_body .= print_r($values, true); $reply_address = $values['name_first'].' '.$values['name_last'].' <'.$values['email'].'>'; $email_body .= 'Formatted address: '.$reply_address."\n\n"; - mail('dmca@osmfoundation.org','OSM Claim of Copyright Infringement', $email_body, 'From: OSMF Copyright Form ', '-fdmca@osmfoundation.org'); + $email_header = 'From: OSMF Copyright Form ' . "\r\n" . 'Content-Type: text/plain; charset="utf-8"'; + mail('dmca@osmfoundation.org','OSM Claim of Copyright Infringement', $email_body, $email_header, '-fdmca@osmfoundation.org'); } ?>