HEX
Server: LiteSpeed
System: Linux srv1.dhviews.com 5.14.0-570.23.1.el9_6.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Jun 24 11:27:16 EDT 2025 x86_64
User: bdedition (1723)
PHP: 7.4.33
Disabled: NONE
Upload Files
File: /home/bdedition/public_html/core/vendor/sendgrid/sendgrid/lib/SendGrid.php
<?php

/**
 * This library allows you to quickly and easily send emails through Twilio
 * SendGrid using PHP.
 *
 * @package SendGrid\Mail
 */
class SendGrid extends BaseSendGridClientInterface
{
    /**
     * Set up the HTTP Client.
     *
     * @param string $apiKey Your Twilio SendGrid API Key.
     * @param array $options An array of options, currently only "host", "curl",
     *                       "version", "verify_ssl", and "impersonateSubuser",
     *                       are implemented.
     */
    public function __construct($apiKey, $options = array())
    {
        $auth = 'Authorization: Bearer ' . $apiKey;
        $host = 'https://api.sendgrid.com';
        parent::__construct($auth, $host, $options);
    }
}