mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
Set Content-type header when sending UTF-8 mails
Fixes FS#38568. Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
This commit is contained in:
parent
16c3a86193
commit
94a4f597ff
2 changed files with 12 additions and 4 deletions
|
@ -652,7 +652,9 @@ function send_resetkey($email, $body) {
|
|||
$body .= "\n\n".
|
||||
"{$AUR_LOCATION}/" . get_uri('/passreset/') . "?".
|
||||
"resetkey={$resetkey}";
|
||||
$headers = "Reply-to: nobody@archlinux.org\r\n" .
|
||||
$headers = "MIME-Version: 1.0\r\n" .
|
||||
"Content-type: text/plain; charset=UTF-8\r\n";
|
||||
"Reply-to: nobody@archlinux.org\r\n" .
|
||||
"From: aur-notify@archlinux.org\r\n" .
|
||||
"X-Mailer: PHP\r\n" .
|
||||
"X-MimeOLE: Produced By AUR";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue