I tried thius fix but no luck
Ray,
I was running php 7.3 updated to php 8.1 on WHM/cpanel and now the emails aren't sending.
I removed the cide you said to remove above
//if (get_magic_quotes_gpc()) $pval = stripslashes((is_array($pval)?implode(", ",$pval):$pval));
and I am still not able to send emails.
Any thing else I can look for that might help?
Thanks