Universal Email only passes the message to the SMTP server. UE records success if the message is passed to the SMTP server.
An SMTP server cannot pass any messages back to a PHP script, about the results of relaying the email to the recipient. PHP Scripts cannot use any ESMTP responses, since the SMTP server cannot pass them to the script.