MOON
Server: Apache
System: Linux e2e-78-16.ssdcloudindia.net 3.10.0-1160.45.1.el7.x86_64 #1 SMP Wed Oct 13 17:20:51 UTC 2021 x86_64
User: imensosw (1005)
PHP: 8.0.30
Disabled: exec,passthru,shell_exec,system
Upload Files
File: /home/imensosw/demo.imensosoftware.com/lp/vendor/sendgrid/sendgrid/lib/TwilioEmail.php
<?php

/**
 * This library allows you to quickly and easily send emails through Twilio
 * SendGrid using PHP.
 *
 * @package SendGrid\Mail
 */
class TwilioEmail extends BaseSendGridClientInterface
{
    /**
     * Set up the HTTP Client.
     *
     * @param string $username Username to authenticate with
     * @param string $password Password to authenticate with
     * @param array $options An array of options, currently only "host", "curl",
     *                       "version", "verify_ssl", and "impersonateSubuser",
     *                       are implemented.
     */
    public function __construct($username, $password, $options = array())
    {
        $auth = 'Authorization: Basic ' . \base64_encode("$username:$password");
        $host = 'https://email.twilio.com';
        parent::__construct($auth, $host, $options);
    }
}