Uh oh, it's a matter of global variable! If I put this on line 9 of "sendmail.php", then it works!
global $mailserver;
The $mailserver variable is defined OUTSIDE the function WA_SecurityAssist_Email_1_SendMail (on line 8), so I have to import it as a global variable
The whole part becomes:
function WA_SecurityAssist_Email_1_SendMail($WA_Auth_Parameter){
global $mailserver;
$WA_MailObject = WA_SecurityAssist_Definition("".$mailserver ."","25","","","","utf-8");
$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
Ok, this solution works for this particular script... Please, can you give me a way to fix it in the WA Security Assist extensions' files to that I have not to manually fix it each now and then?