diff options
Diffstat (limited to 'examples/helpers/mail/example.php')
-rw-r--r-- | examples/helpers/mail/example.php | 4 |
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); |