* $Author:: $ *
* -------------------------------------------------------------------- *
* Copyright (c) 2003 - 2009 by Roland Haeder *
* $Author:: $ *
* -------------------------------------------------------------------- *
* Copyright (c) 2003 - 2009 by Roland Haeder *
- * Copyright (c) 2009 - 2011 by Mailer Developer Team *
- * For more information visit: http://www.mxchange.org *
+ * Copyright (c) 2009 - 2012 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 *
* *
* 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 *
while ($idx < strlen($test)) {
$check = substr($test, $idx, 1);
if ((!in_array($check, $GLOBALS['valid_email_chars'])) && ($check != '@')) {
while ($idx < strlen($test)) {
$check = substr($test, $idx, 1);
if ((!in_array($check, $GLOBALS['valid_email_chars'])) && ($check != '@')) {
// Remove email from testing string (see above why...)
$test = substr($test, strlen($check));
}
// Now put all parts together
// Remove email from testing string (see above why...)
$test = substr($test, strlen($check));
}
// Now put all parts together
foreach ($PARTS as $part) {
$text .= $part;
} // END - foreach
// Replace new-lines agains <br />-s and finally compile possible own HTML tags out...
foreach ($PARTS as $part) {
$text .= $part;
} // END - foreach
// Replace new-lines agains <br />-s and finally compile possible own HTML tags out...