* $Author:: $ *
* -------------------------------------------------------------------- *
* Copyright (c) 2003 - 2009 by Roland Haeder *
- * Copyright (c) 2009, 2010 by Mailer Developer Team *
- * For more information visit: http://www.mxchange.org *
+ * Copyright (c) 2009 - 2011 by Mailer Developer Team *
+ * For more information visit: http://mxchange.org *
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
// See ext-html.php if you want to add more URL ends...
foreach ($GLOBALS['url_ends'] as $end) {
- if (isInString($end, $check)) $check = substr($check, 0, strpos($check, $end));
+ if (isInString($end, $check)) {
+ $check = substr($check, 0, strpos($check, $end));
+ } // END - if
} // END - foreach
// Now replace the URL against anchor container and pray...
// Wrapper for sending newsletter and wrapping URLs / HTML mail
function sendNewsletter ($to, $subject, $message, $mode) {
// Send mail away as HTML
- if (postRequestParameter('auto_urls') == 'Y') {
+ if (postRequestElement('auto_urls') == 'Y') {
// Automatically insert URLs into newsletter
if ((isExtensionActive('html_mail')) && ($mode == 'html')) {
// Send HTML mail