close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Email not sending ... trigger issue?

Thread began 12/07/2019 10:08 am by sandy170299 | Last modified 12/10/2019 10:07 pm by sandy170299 | 166 views | 27 replies

sandy170299

Please see code below:

<?php

function WA_Auth_GetComparisonsForRule($ruleName){
$comparisons = array();

switch ($ruleName){
case "Bad return url from encryption email":
$comparisons[0] = array(TRUE, "".((isset($_GET['badURL']))?$_GET['badURL']:"") ."", 2, "");
break;
case "Email address not found":
$comparisons[0] = array(TRUE, "".((isset($_GET['notFound']))?$_GET['notFound']:"") ."", 2, "");
break;
case "Email server failure":
$comparisons[0] = array(TRUE, "".((isset($_GET['EmailFail']))?$_GET['EmailFail']:"") ."", 2, "");
break;
case "Emailed password":
$comparisons[0] = array(TRUE, "".((isset($_GET['emailedPassword']))?$_GET['emailedPassword']:"") ."", 2, "");
break;
case "Encrypted email return set":
$comparisons[0] = array(TRUE, "".((isset($_SESSION["WAENCRYPTEDRETURNUSED"]) && $_SESSION["WAENCRYPTEDRETURNUSED"])?"1":"") ."", 2, "");
break;
case "Encrypted email return success":
$comparisons[0] = array(TRUE, "".((isset($_SESSION["WAENCRYPTEDRETURNSUCCESS"]) && $_SESSION["WAENCRYPTEDRETURNSUCCESS"])?"1":"") ."", 2, "");
break;
case "Failed log in":
$comparisons[0] = array(TRUE, "".((isset($_GET['failedLogin']))?$_GET['failedLogin']:"") ."", 2, "");
break;
case "Log in success":
$comparisons[0] = array(TRUE, "".((isset($_GET['loggedIn']))?$_GET['loggedIn']:"") ."", 2, "");
break;
case "Logged in to adminuser":
$comparisons[0] = array(TRUE, "".((isset($_SESSION['SecurityAssist_userid']))?$_SESSION['SecurityAssist_userid']:"") ."", 2, "");
break;
case "Logged in to pcms2_users":
$comparisons[0] = array(TRUE, "".((isset($_SESSION['SecurityAssist_UserID']))?$_SESSION['SecurityAssist_UserID']:"") ."", 2, "");
break;
case "Logged in to users":
$comparisons[0] = array(TRUE, "".((isset($_SESSION['SecurityAssist_user_id']))?$_SESSION['SecurityAssist_user_id']:"") ."", 2, "");
break;
case "Successful forgot password update":
$comparisons[0] = array(TRUE, "".((isset($_GET['fpsuccess']))?$_GET['fpsuccess']:"") ."", 2, "");
break;
case "Successful update":
$comparisons[0] = array(TRUE, "".((isset($_GET['success']))?$_GET['success']:"") ."", 2, "");
break;
case "Validated form":
$comparisons[0] = array(TRUE, "".((isset($_GET['invalid']))?$_GET['invalid']:"") ."", 2, "");
break;
}
return $comparisons;
}


function WA_Auth_GetGroup($groupName){
$group = Array();

switch($groupName){

}

return $group;
}

?>

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...