You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Receiving "Class 'SendGrid\Mail\Mail' not found " when using sendgrid-php.
I have installed the sendgrid-php into my Codeigniter system by downloading the zip and placing it in a folder in my application. I'm not using composer. I have included the library path as specified and can confirm the path is absolutely correct. However I can not get around the error appearing. This happens both on localhost and on a live server.
I have tested changing permission - even to 777 on the sendgrid-php folder and still no luck.
Code
require(FCPATH."assets/libs/sendgrid-php/sendgrid-php.php");
$email = new \SendGrid\Mail\Mail();
Technical details:
codeigniter version: 4
sendgrid-php version: 7
php version: 7.4.28
The text was updated successfully, but these errors were encountered:
Issue Summary
Receiving "Class 'SendGrid\Mail\Mail' not found " when using sendgrid-php.
I have installed the sendgrid-php into my Codeigniter system by downloading the zip and placing it in a folder in my application. I'm not using composer. I have included the library path as specified and can confirm the path is absolutely correct. However I can not get around the error appearing. This happens both on localhost and on a live server.
I have tested changing permission - even to 777 on the sendgrid-php folder and still no luck.
Code
Technical details:
The text was updated successfully, but these errors were encountered: