/
var
/
www
/
doncode.com.ua
/
www
/
lib
/
sendgrid
/
lib
/
/var/www/doncode.com.ua/www/lib/sendgrid/lib
mkdir
upload
Name
Size
Mode
Actions
contacts/
-
0755
rm
eventwebhook/
-
0755
rm
helper/
-
0755
rm
mail/
-
0755
rm
stats/
-
0755
rm
BaseSendGridClientInterface.php
1884
0644
edit
dl
rm
SendGrid.php
740
0644
edit
dl
rm
TwilioEmail.php
848
0644
edit
dl
rm
Edit:
/var/www/doncode.com.ua/www/lib/sendgrid/lib/TwilioEmail.php
(848B)
<?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); } }
Save
cmd:
run