X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Ffunctions.php;h=278c570375f636a7c09022d03a7fcadb2c1d0c32;hb=9f7884e487d89c5d311531d1da67f1806b48ec27;hp=5b30f4f795174e15a0dd36501aa36651104efcd9;hpb=de5910b8e5deb9285a7ac57c26ebd894f4e1afbf;p=mailer.git diff --git a/inc/functions.php b/inc/functions.php index 5b30f4f795..278c570375 100644 --- a/inc/functions.php +++ b/inc/functions.php @@ -18,6 +18,7 @@ * svn:keywords Date Revision" (autoprobset!) at least!!!!!! * * -------------------------------------------------------------------- * * Copyright (c) 2003 - 2009 by Roland Haeder * + * Copyright (c) 2009, 2010 by Mailer Developer Team * * For more information visit: http://www.mxchange.org * * * * This program is free software; you can redistribute it and/or modify * @@ -538,7 +539,7 @@ function sendEmail ($toEmail, $subject, $message, $isHtml = 'N', $mailHeader = ' eval("\$subject = decodeEntities(\"".compileRawCode(escapeQuotes($subject))."\");"); // Set from header - if ((!eregi('@', $toEmail)) && ($toEmail > 0)) { + if ((!isInStringIgnoreCase('@', $toEmail)) && ($toEmail > 0)) { // Value detected, is the message extension installed? // @TODO Extension 'msg' does not exist if (isExtensionActive('msg')) { @@ -1461,38 +1462,38 @@ function createTimeSelections ($timestamp, $prefix = '', $display = '', $align = $OUT .= "
'.print_r($request, true).'
'.print_r($response, true).'