Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge branch 'prerelease' of github.com:sendgrid/sendgrid-php

  • Loading branch information...
commit 0385f188cfd1db148175bb1bc44f6158255a55cc 2 parents 48448df + 0a8d842
@cjbuchmann cjbuchmann authored
Showing with 15 additions and 14 deletions.
  1. +15 −0 MIT.LICENSE
  2. +0 −14 examples/app.php
View
15 MIT.LICENSE
@@ -0,0 +1,15 @@
+Copyright (c) 2011 SendGrid
+
+Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
+documentation files (the "Software"), to deal in the Software without restriction, including without limitation
+the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software,
+and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all copies or substantial portions of
+the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO
+THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
+CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+DEALINGS IN THE SOFTWARE.
View
14 examples/app.php
@@ -1,14 +0,0 @@
-<?php
-
-include __dir__ . '/../' . 'SendGrid_loader.php';
-
-$sendgrid = new SendGrid('username', 'secret');
-
-$mail = new SendGrid\Mail();
-$mail->addTo('foo@bar.com')->
- setFrom('baz@bar.com')->
- setSubject('Subject')->
- setHtml('Hello');
-
-
-$sendgrid->smtp->send($mail);
Please sign in to comment.
Something went wrong with that request. Please try again.