X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Ffunctions.php;h=9c3cc70ca6855b450deb5079a06a57878d35b3c7;hb=1135eca961b9e2b4deb1ff6a17adebaf7e8f889f;hp=2e67489387c9eb29c91594652dc164a7153f278a;hpb=09f5758c42a33a56bdd461c946ffe759a59c54aa;p=mailer.git diff --git a/inc/functions.php b/inc/functions.php index 2e67489387..9c3cc70ca6 100644 --- a/inc/functions.php +++ b/inc/functions.php @@ -539,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')) { @@ -1462,38 +1462,38 @@ function createTimeSelections ($timestamp, $prefix = '', $display = '', $align = $OUT .= "
' . $proxyTunnel.'