broadcast-message.php:

- set mb_internal_encoding("UTF-8") to avoid broken encoding in mailheaders
  https://sourceforge.net/tracker/?func=detail&atid=937964&aid=2641660&group_id=191583


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@570 a1433add-5e2c-0410-b055-b7f2511e0802
postfixadmin-2.3
Christian Boltz 16 years ago
parent f59423c8d6
commit 8b05971af9

@ -52,6 +52,7 @@ if ($_SERVER['REQUEST_METHOD'] == "POST")
$result = db_query ($q);
if ($result['rows'] > 0)
{
mb_internal_encoding("UTF-8");
$b_name = mb_encode_mimeheader( $_POST['name'], 'UTF-8', 'Q');
$b_subject = mb_encode_mimeheader( $_POST['subject'], 'UTF-8', 'Q');
$b_message = base64_encode($_POST['message']);

Loading…
Cancel
Save