I’m encountering an issue with the following piece of code that previously worked but now no longer functions:
php
Kopier kode
use AcyMailing\Classes\UserClass;
$toEmail = "[Field ID=3]";
//-----------------------------------------
//-- Add user to the list in Acymail
//-----------------------------------------
$userClass = new UserClass();
// Get the AcyMailing user from his email address
$user = $userClass->getOneByEmail($toEmail);
It seems that this code is no longer retrieving the user information by email as it used to. Could you please assist me in understanding why this is happening and what might have changed?
Thank you for your help.
Best regards,
Hanne
Replies are visible only to logged in members with an active subscription.