Error: Class 'SendGrid\Client' not found

Created on 12 March 2021, over 3 years ago
Updated 18 October 2023, about 1 year ago

Problem/Motivation

Sending a test email, got the error: Error: Class 'SendGrid\Client' not found in SendGridMailSystem->mail() (line 48 of /var/www/html/sites/all/modules/sendgrid_integration/inc/sendgrid.mail.inc).

Steps to reproduce

  • Download and enable sendgrid_integration, xautoload, and mailsystem
  • composer install to install the library
  • Configure mailsystem to use sendgrid
  • Create API key in SendGrid
  • Configure module with API key
  • In sendgrid configuration, try to send a test email
🐛 Bug report
Status

Active

Version

1.5

Component

Code

Created by

🇨🇦Canada bondjimbond

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • Status changed to Active about 1 year ago
  • 🇮🇳India _pratik_ Banglore

    i am using drupal 7 project and used composer to add fastglass/sendgrid library (composer require fastglass/sendgrid:~1.0).
    Later pushed all files, and still getting error Class 'SendGrid\Client' not found in SendGridMailSystem->mail()

Production build 0.71.5 2024