Or you can do it this way and it will select whether you have send HTML emails enabled.
// add the message to the object
if (EMAIL_USE_HTML == 'true') {
$mimemessage->add_html($message);
} else {
$mimemessage->add_text($message);
}
$mimemessage->build_message();
No file attached just alternative for previous post.
More...





LinkBack URL
About LinkBacks









Bookmarks