Hi...
is there a solution to chance the email format from HTML to (pure) TEXT?
Thanks For Your Help.
is there a solution to chance the email format from HTML to (pure) TEXT?
Thanks For Your Help.
/**
* Send the email(s)
*/
$email_sent = mosMail($from, $fromname, $recipient, $subject, $html_message, true, $ccemails, $bccemails, $attachments, $replyto_email, $replyto_name);
add one line and change 'true' to $modeif ( !($mode === false ) { $mode = true };
$email_sent = mosMail($from, $fromname, $recipient, $subject, $html_message, $mode, $ccemails, $bccemails, $attachments, $replyto_email, $replyto_name);
Now you'll need to include <?php $mode = true; ?>
in the OnSubmit before email field.
if ( !($mode == false ) ) { $mode = true };
Bob
if ( !($mode == false ) ) { $mode = true; };
Bob
$html_message = "<!DOCTYPE html PUBLIC \"-//W3C//DTD HTML 4.0 Transitional//EN\">
<html>
<head>
<title></title>
<base href=\"$mosConfig_live_site/\" />
<style type=\"text/css\">
".strip_tags( $chronocontact_params->get('newsletter_css'))."
</style>
</head>
<body>$html_message</body></html>";
[...]
X-Mailer: PHPMailer [version 1.73]
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Content-Type: text/html; charset="iso-8859-1"
X-RZG-CLASS-ID: cg00