It seems the way you were using the
explode() function is not correct. Instead of like this:
$email = explode($_POST["acf"]["field_5775908e70ce0"], "@");
It should be like this:
$email = explode("@", $value);
Because this issue is more related to PHP, kindly visit PHP community instead for further support.
I hope this helps 🙂