I'm having trouble with a MIMEdecoder. It ouputs the To: email address in the format:
In order to get it to match my database records I need to trim()
I had used:
as my samples had no 'name'. Now it fails.PHP Code:
$emailx = trim($email, "<>");
$db->execute_query("UPDATE mail_subscribers SET bounce_count=bounce_count+1 WHERE email = '$emailx'");
How can I trim the preceding 'name', whitespace & <>tags from the email?