Unable to access a Class within a PHP function
I’m trying to run MailerSend, an outbound email platform. I’ve loaded the necessary code onto my server and MailerSend works fine if I place the following code in a single PHP file and execute that file – let’s call it ‘SendAnEmail.php” :