<?php
/************************************************************************
- * MXChange v0.2.1 Start: 04/25/2004 *
- * ================ Last change: 04/29/2004 *
+ * Mailer v0.2.1-FINAL Start: 04/25/2004 *
+ * =================== Last change: 04/29/2004 *
* *
* -------------------------------------------------------------------- *
- * File : newsletter_functions.php *
+ * File : newsletter_functions.php *
* -------------------------------------------------------------------- *
* Short description : Functions for the HTML extension *
* -------------------------------------------------------------------- *
}
// And now go forward...
- $idx = 0;
+ $idx = '0';
while ($idx < strlen($test)) {
$check = substr($test, $idx, 1);
if ((!in_array($check, $GLOBALS['valid_email_chars'])) && ($check != '@')) {
// Wrapper for sending newsletter and wrapping URLs / HTML mail
function sendNewsletter ($to, $subject, $message, $mode) {
// Send mail away as HTML
- if (postRequestElement('auto_urls') == 'Y') {
+ if (postRequestParameter('auto_urls') == 'Y') {
// Automatically insert URLs into newsletter
if ((isExtensionActive('html_mail')) && ($mode == 'html')) {
// Send HTML mail