// Mail content accept accentuated chars
This commit is contained in:
@@ -33,6 +33,7 @@ require_once(dirname(__FILE__).'/init.php');
|
|||||||
$smtpChecked = (trim($_POST['mailMethod']) == 'smtp');
|
$smtpChecked = (trim($_POST['mailMethod']) == 'smtp');
|
||||||
$smtpServer = $_POST['smtpSrv'];
|
$smtpServer = $_POST['smtpSrv'];
|
||||||
$content = urldecode($_POST['testMsg']);
|
$content = urldecode($_POST['testMsg']);
|
||||||
|
$content = utf8_encode(html_entity_decode($content));
|
||||||
$subject = urldecode($_POST['testSubject']);
|
$subject = urldecode($_POST['testSubject']);
|
||||||
$type = 'text/html';
|
$type = 'text/html';
|
||||||
$to = $_POST['testEmail'];
|
$to = $_POST['testEmail'];
|
||||||
|
|||||||
Reference in New Issue
Block a user