The Code im using is:
if (mysql_num_rows($cquery) < 1) {
$email = STORE_NAME . "\n" . EMAIL_SEPARATOR . "\n" . tep_catalog_href_link(FILENAME_CATALOG_LOGIN, '', 'SSL') . "\n" . sprintf(EMAIL_TEXT_CUST, $mline) . "\n" . $_POST['message'];
} else {
$email = STORE_NAME . "\n" . EMAIL_SEPARATOR . "\n" . tep_catalog_href_link(FILENAME_CATALOG_LOGIN, '', 'SSL') . "\n" . sprintf(EMAIL_TEXT_CUST, $mline) . "\n" . $_POST['message'];
}
$custname = $inrec['fname']." ".$inrec['lname'];
tep_mail($custname, $inrec['email'], EMAIL_TEXT_SUBJECT, $email, STORE_NAME, STORE_OWNER_EMAIL_ADDRESS);
$mline = "";
tep_db_query("insert into " . TABLE_SCART . " (customers_id, dateadded ) values ('" . $cid . "', '" . seadate('0') . "')");
echo $cline;
$cline = "";
}
}
but when i look on the text in my web mail it seems fine.
Only in the outlook it looks like a chunk
thank you for your help,
Felix