X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/2bd7d1dd8dcc3abb3eda77447182fda66c631ae6..58fa98e466c9b59f9352240e86c6349eba21440e:/cookbooks/dmca/files/default/html/index.php 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'); } ?>