Practice
mail.ru does not show image links in an HTML email
I send it like this
require_once ('PHPMailer.php');
$topic = $_POST['tema'];
$message = $_POST['msg'];
$mail = new PHPMailer();
$mail->SetFrom($adressender);
$mail->AltBody = $message;
$mail->IsHTML(true);
$mail->AddAddress($adresresipient);
$mail->Body = $message;
$mail->Subject = $topic;
$mail->CharSet = "UTF-8";
if ($mail->Send())
{
echo $adresresipient . " sent ";
} else {
echo "error while sending";
}
At the same time I use TinyMCE
I get the textarea contents from the frame for ajax like this

Comments