summaryrefslogtreecommitdiffstats
path: root/examples/helpers/mail/example.php
diff options
context:
space:
mode:
authorElmer Thomas <elmer@thinkingserious.com>2016-05-11 11:25:26 -0700
committerElmer Thomas <elmer@thinkingserious.com>2016-05-11 11:25:26 -0700
commitc7f8947c34ecd6c2d616dac7dc1c4eaa53820163 (patch)
tree302021d0060f3647988441ba5aacaf6d89b8c045 /examples/helpers/mail/example.php
parent9892f1c7a669964061bc3bb45e17358505cd7ddc (diff)
downloadsendgrid-php-c7f8947c34ecd6c2d616dac7dc1c4eaa53820163.zip
sendgrid-php-c7f8947c34ecd6c2d616dac7dc1c4eaa53820163.tar.gz
sendgrid-php-c7f8947c34ecd6c2d616dac7dc1c4eaa53820163.tar.bz2
Travis Debugging
Diffstat (limited to 'examples/helpers/mail/example.php')
-rw-r--r--examples/helpers/mail/example.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/helpers/mail/example.php b/examples/helpers/mail/example.php
index 73f566d..ada9f6a 100644
--- a/examples/helpers/mail/example.php
+++ b/examples/helpers/mail/example.php
@@ -180,7 +180,7 @@ function kitchenSink()
function sendHelloEmail()
{
$apiKey = getenv('SENDGRID_API_KEY');
- $sg = new \SendGrid($apiKey);
+ $sg = new SendGrid($apiKey);
$request_body = helloEmail();
$response = $sg->client->mail()->send()->beta()->post($request_body);
@@ -192,7 +192,7 @@ function sendHelloEmail()
function sendKitchenSink()
{
$apiKey = getenv('SENDGRID_API_KEY');
- $sg = new \SendGrid($apiKey);
+ $sg = new SendGrid($apiKey);
$request_body = kitchenSink();
$response = $sg->client->mail()->send()->beta()->post($request_body);