anyone have thoughts on if i want to allow my desiner to take his html and css and paste into a field, and than have that field be what is read and sent out? i can simply take the field in a php setting and of something like this.
PHP Code:
// newsletter
if (isset($_POST['nl'])) {
$message .= "\nwhatGoesHere\n";
$message .= $_POST['nl'];
$message .= "\n";
}
and then chase it up with something like this
PHP Code:
$headers = "From: {$_POST['myCompany']}\n";
$headers .= "Reply-to: {$_POST['mycompany@consumer.com']}\n";
mail("somesort of sql database", "subject", $message);
anythoughts? am i on the right page? just wondering on how i put that html into place of the newsletter and allow php to read it to send it out?
thankx guys.
Bookmarks