X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Ffunctions.php;h=278c570375f636a7c09022d03a7fcadb2c1d0c32;hb=9f7884e487d89c5d311531d1da67f1806b48ec27;hp=2da1f613620bcc3f94dab889d6e94d41d1f20dc4;hpb=d0db163274524c1ac548146db60d4543abcec4a9;p=mailer.git diff --git a/inc/functions.php b/inc/functions.php index 2da1f61362..278c570375 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 .= "