I changed the email I use and it now looks O.K. to me. Since then I am not getting PHP error codes in the logs, but I am not receiving any emailed password either.
Here's the code I can find:
<?php
function WA_SecurityAssist_Email_1_SendMail($WA_Auth_Parameter){
$WA_MailObject = WA_SecurityAssist_Definition("mail.aapvconvention.com","21","reservations@aapvconvention.com","","","");
$WA_MailObject = WA_SecurityAssist_SendMail($WA_MailObject,"","","",$WA_Auth_Parameter["toAddress"],"",$WA_Auth_Parameter["fromAddress"],$WA_Auth_Parameter["subject"],$WA_Auth_Parameter["mailBody"]);
$WA_MailObject = null;
}// WA_SecurityAssist_Email_1_SendMail
?>
<?php
if(isset($_POST["Send_x"])){
//WA SecurityAssist Email object="Mail for Linux"
$WA_Auth_Parameter = array(
"connection" => $AAConvention,
"database" => $database_AAConvention,
"tableName" => "users",
"filterColumn" => "email",
"columnValue" => "".((isset($_POST["emailAddress"]))?$_POST["emailAddress"]:"") ."",
"columnType" => "text",
"usernameColumn" => "email",
"passwordColumn" => "password",
"selectColumns" => array(""),
"sessionVariables" => array(""),
"successRedirect" => "users_LogIn.php",
"failRedirect" => "users_EmailPW.php",
"keepQueryString" => TRUE,
"toAddressColumn" => "email",
"fromAddress" => "reservations@aapvconvention.com",
"fromAddressDisplay" => "Registration Administrator",
"subject" => "Your new password!",
"mailBody" => "User name: [email]\nPassword: [password]\n\nListed above are your User Name (your email address) and your new password. We suggest you log in and change your password as soon as possible and write your new, changed password someplace secure.",
"emailFunction" => "WA_SecurityAssist_Email_1_SendMail"
);
WA_Auth_ForgotPassword($WA_Auth_Parameter);
}
?>
When I use the mail handler on my MAC I need to enter both a user name and password to send and receive messages. I don't see the password anywhere in this code nor do I recall seeing anywhere to add it in the setup process.
What do I need to do?
Cal