on the admin_pm/users_registration.php page, the code that sends the email is at lines 194 - 205:
<?php
if ((($_SERVER["REQUEST_METHOD"] == "POST") && (isset($_SERVER["HTTP_REFERER"]) && strpos(urldecode($_SERVER["HTTP_REFERER"]), urldecode($_SERVER["SERVER_NAME"].$_SERVER["PHP_SELF"])) > 0) && isset($_POST))) {
//WA Universal Email object="mail"
//Send Loop Once Per Entry
$RecipientEmail = "".((isset($_POST["UserEmail"]))?$_POST["UserEmail"]:"") ."";include("../webassist/email/WAUE_users_Registration_1.php");
//Send Mail All Entries
if ("users_detail.php?UserID=".(mysql_insert_id()) .""!="") {
header("Location: users_detail.php?UserID=".(mysql_insert_id()) ."");
}
}
?>
you can change the if statement that triggers the code:
if ((($_SERVER["REQUEST_METHOD"] == "POST") && (isset($_SERVER["HTTP_REFERER"]) && strpos(urldecode($_SERVER["HTTP_REFERER"]), urldecode($_SERVER["SERVER_NAME"].$_SERVER["PHP_SELF"])) > 0) && isset($_POST))) {
to one that will never evaluate to true:
if ("1" != "1") {
in other words if 1 does not equal 1.