sorry to be a pain but I am thoroughly exhausted and can't think straight.
Would you please confirm that the following code snippet is correct, thank you.
$WA_MailObject = WAUE_Definition("mail_php.php", "smtp.xxxxxxx.com","465","email@example.com","xxxxxxxx","SSL","","utf-8");
I continue to be puzzled by the Global declaration you have at the front in the original. Since there are six files to correct, I don't want to make any errors. It will also help any other future amateur such as myself in the future, hopefully, to see the correct rendition from you.
Just to confirm, I have renamed the PEAR file you had earlier as the above, so it is all ready to go