├── .editorconfig ├── .env.sample ├── .github └── workflows │ ├── pr-lint.yml │ └── test-and-deploy.yml ├── Dockerfile ├── FIRST_TIMERS.md ├── ISSUE_TEMPLATE.md ├── LICENSE ├── UPGRADE.md ├── composer.json ├── examples ├── accesssettings │ └── accesssettings.php ├── alerts │ └── alerts.php ├── apikeys │ └── apikeys.php ├── asm │ └── asm.php ├── browsers │ └── browsers.php ├── campaigns │ └── campaigns.php ├── categories │ └── categories.php ├── clients │ └── clients.php ├── contactdb │ └── contactdb.php ├── dataresidency │ └── setregion.php ├── devices │ └── devices.php ├── geo │ └── geo.php ├── helpers │ ├── contacts │ │ └── recipients.php │ ├── eventwebhook │ │ └── example.php │ ├── mail │ │ └── example.php │ └── stats │ │ └── example.php ├── ips │ └── ips.php ├── mail │ └── mail.php ├── mailboxproviders │ └── mailboxproviders.php ├── mailsettings │ └── mailsettings.php ├── partnersettings │ └── partnersettings.php ├── scopes │ └── scopes.php ├── senderauthentication │ └── senderauthentication.php ├── senders │ └── senders.php ├── stats │ └── stats.php ├── subusers │ └── subusers.php ├── suppression │ └── suppression.php ├── templates │ └── templates.php ├── trackingsettings │ └── trackingsettings.php └── user │ └── user.php ├── lib ├── BaseSendGridClientInterface.php ├── SendGrid.php ├── TwilioEmail.php ├── contacts │ ├── Recipient.php │ └── RecipientForm.php ├── eventwebhook │ ├── EventWebhook.php │ └── EventWebhookHeader.php ├── helper │ └── Assert.php ├── mail │ ├── Asm.php │ ├── Attachment.php │ ├── BatchId.php │ ├── Bcc.php │ ├── BccSettings.php │ ├── BypassBounceManagement.php │ ├── BypassListManagement.php │ ├── BypassSpamManagement.php │ ├── BypassUnsubscribeManagement.php │ ├── Category.php │ ├── Cc.php │ ├── ClickTracking.php │ ├── Content.php │ ├── CustomArg.php │ ├── EmailAddress.php │ ├── Footer.php │ ├── From.php │ ├── Ganalytics.php │ ├── GroupId.php │ ├── GroupsToDisplay.php │ ├── Header.php │ ├── HtmlContent.php │ ├── IpPoolName.php │ ├── Mail.php │ ├── MailSettings.php │ ├── MimeType.php │ ├── OpenTracking.php │ ├── Personalization.php │ ├── PlainTextContent.php │ ├── ReplyTo.php │ ├── SandBoxMode.php │ ├── Section.php │ ├── SendAt.php │ ├── SpamCheck.php │ ├── Subject.php │ ├── SubscriptionTracking.php │ ├── Substitution.php │ ├── TemplateId.php │ ├── To.php │ ├── TrackingSettings.php │ └── TypeException.php └── stats │ └── Stats.php ├── phpcs.xml ├── prism.sh ├── scripts └── package.sh ├── sendgrid-php.php ├── static └── img │ ├── github-fork.png │ └── github-sign-up.png └── twilio_sendgrid_logo.png /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sendgrid/sendgrid-php/HEAD/.editorconfig -------------------------------------------------------------------------------- /.env.sample: -------------------------------------------------------------------------------- 1 | export SENDGRID_API_KEY='' 2 | -------------------------------------------------------------------------------- /.github/workflows/pr-lint.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sendgrid/sendgrid-php/HEAD/.github/workflows/pr-lint.yml -------------------------------------------------------------------------------- /.github/workflows/test-and-deploy.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sendgrid/sendgrid-php/HEAD/.github/workflows/test-and-deploy.yml -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sendgrid/sendgrid-php/HEAD/Dockerfile -------------------------------------------------------------------------------- /FIRST_TIMERS.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sendgrid/sendgrid-php/HEAD/FIRST_TIMERS.md -------------------------------------------------------------------------------- /ISSUE_TEMPLATE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sendgrid/sendgrid-php/HEAD/ISSUE_TEMPLATE.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sendgrid/sendgrid-php/HEAD/LICENSE -------------------------------------------------------------------------------- /UPGRADE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sendgrid/sendgrid-php/HEAD/UPGRADE.md -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sendgrid/sendgrid-php/HEAD/composer.json -------------------------------------------------------------------------------- /examples/accesssettings/accesssettings.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sendgrid/sendgrid-php/HEAD/examples/accesssettings/accesssettings.php -------------------------------------------------------------------------------- /examples/alerts/alerts.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sendgrid/sendgrid-php/HEAD/examples/alerts/alerts.php -------------------------------------------------------------------------------- /examples/apikeys/apikeys.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sendgrid/sendgrid-php/HEAD/examples/apikeys/apikeys.php -------------------------------------------------------------------------------- /examples/asm/asm.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sendgrid/sendgrid-php/HEAD/examples/asm/asm.php -------------------------------------------------------------------------------- /examples/browsers/browsers.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sendgrid/sendgrid-php/HEAD/examples/browsers/browsers.php -------------------------------------------------------------------------------- /examples/campaigns/campaigns.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sendgrid/sendgrid-php/HEAD/examples/campaigns/campaigns.php -------------------------------------------------------------------------------- /examples/categories/categories.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sendgrid/sendgrid-php/HEAD/examples/categories/categories.php -------------------------------------------------------------------------------- /examples/clients/clients.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sendgrid/sendgrid-php/HEAD/examples/clients/clients.php -------------------------------------------------------------------------------- /examples/contactdb/contactdb.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sendgrid/sendgrid-php/HEAD/examples/contactdb/contactdb.php -------------------------------------------------------------------------------- /examples/dataresidency/setregion.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sendgrid/sendgrid-php/HEAD/examples/dataresidency/setregion.php -------------------------------------------------------------------------------- /examples/devices/devices.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sendgrid/sendgrid-php/HEAD/examples/devices/devices.php -------------------------------------------------------------------------------- /examples/geo/geo.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sendgrid/sendgrid-php/HEAD/examples/geo/geo.php -------------------------------------------------------------------------------- /examples/helpers/contacts/recipients.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sendgrid/sendgrid-php/HEAD/examples/helpers/contacts/recipients.php -------------------------------------------------------------------------------- /examples/helpers/eventwebhook/example.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sendgrid/sendgrid-php/HEAD/examples/helpers/eventwebhook/example.php -------------------------------------------------------------------------------- /examples/helpers/mail/example.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sendgrid/sendgrid-php/HEAD/examples/helpers/mail/example.php -------------------------------------------------------------------------------- /examples/helpers/stats/example.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sendgrid/sendgrid-php/HEAD/examples/helpers/stats/example.php -------------------------------------------------------------------------------- /examples/ips/ips.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sendgrid/sendgrid-php/HEAD/examples/ips/ips.php -------------------------------------------------------------------------------- /examples/mail/mail.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sendgrid/sendgrid-php/HEAD/examples/mail/mail.php -------------------------------------------------------------------------------- /examples/mailboxproviders/mailboxproviders.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sendgrid/sendgrid-php/HEAD/examples/mailboxproviders/mailboxproviders.php -------------------------------------------------------------------------------- /examples/mailsettings/mailsettings.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sendgrid/sendgrid-php/HEAD/examples/mailsettings/mailsettings.php -------------------------------------------------------------------------------- /examples/partnersettings/partnersettings.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sendgrid/sendgrid-php/HEAD/examples/partnersettings/partnersettings.php -------------------------------------------------------------------------------- /examples/scopes/scopes.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sendgrid/sendgrid-php/HEAD/examples/scopes/scopes.php -------------------------------------------------------------------------------- /examples/senderauthentication/senderauthentication.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sendgrid/sendgrid-php/HEAD/examples/senderauthentication/senderauthentication.php -------------------------------------------------------------------------------- /examples/senders/senders.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sendgrid/sendgrid-php/HEAD/examples/senders/senders.php -------------------------------------------------------------------------------- /examples/stats/stats.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sendgrid/sendgrid-php/HEAD/examples/stats/stats.php -------------------------------------------------------------------------------- /examples/subusers/subusers.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sendgrid/sendgrid-php/HEAD/examples/subusers/subusers.php -------------------------------------------------------------------------------- /examples/suppression/suppression.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sendgrid/sendgrid-php/HEAD/examples/suppression/suppression.php -------------------------------------------------------------------------------- /examples/templates/templates.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sendgrid/sendgrid-php/HEAD/examples/templates/templates.php -------------------------------------------------------------------------------- /examples/trackingsettings/trackingsettings.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sendgrid/sendgrid-php/HEAD/examples/trackingsettings/trackingsettings.php -------------------------------------------------------------------------------- /examples/user/user.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sendgrid/sendgrid-php/HEAD/examples/user/user.php -------------------------------------------------------------------------------- /lib/BaseSendGridClientInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sendgrid/sendgrid-php/HEAD/lib/BaseSendGridClientInterface.php -------------------------------------------------------------------------------- /lib/SendGrid.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sendgrid/sendgrid-php/HEAD/lib/SendGrid.php -------------------------------------------------------------------------------- /lib/TwilioEmail.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sendgrid/sendgrid-php/HEAD/lib/TwilioEmail.php -------------------------------------------------------------------------------- /lib/contacts/Recipient.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sendgrid/sendgrid-php/HEAD/lib/contacts/Recipient.php -------------------------------------------------------------------------------- /lib/contacts/RecipientForm.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sendgrid/sendgrid-php/HEAD/lib/contacts/RecipientForm.php -------------------------------------------------------------------------------- /lib/eventwebhook/EventWebhook.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sendgrid/sendgrid-php/HEAD/lib/eventwebhook/EventWebhook.php -------------------------------------------------------------------------------- /lib/eventwebhook/EventWebhookHeader.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sendgrid/sendgrid-php/HEAD/lib/eventwebhook/EventWebhookHeader.php -------------------------------------------------------------------------------- /lib/helper/Assert.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sendgrid/sendgrid-php/HEAD/lib/helper/Assert.php -------------------------------------------------------------------------------- /lib/mail/Asm.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sendgrid/sendgrid-php/HEAD/lib/mail/Asm.php -------------------------------------------------------------------------------- /lib/mail/Attachment.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sendgrid/sendgrid-php/HEAD/lib/mail/Attachment.php -------------------------------------------------------------------------------- /lib/mail/BatchId.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sendgrid/sendgrid-php/HEAD/lib/mail/BatchId.php -------------------------------------------------------------------------------- /lib/mail/Bcc.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sendgrid/sendgrid-php/HEAD/lib/mail/Bcc.php -------------------------------------------------------------------------------- /lib/mail/BccSettings.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sendgrid/sendgrid-php/HEAD/lib/mail/BccSettings.php -------------------------------------------------------------------------------- /lib/mail/BypassBounceManagement.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sendgrid/sendgrid-php/HEAD/lib/mail/BypassBounceManagement.php -------------------------------------------------------------------------------- /lib/mail/BypassListManagement.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sendgrid/sendgrid-php/HEAD/lib/mail/BypassListManagement.php -------------------------------------------------------------------------------- /lib/mail/BypassSpamManagement.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sendgrid/sendgrid-php/HEAD/lib/mail/BypassSpamManagement.php -------------------------------------------------------------------------------- /lib/mail/BypassUnsubscribeManagement.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sendgrid/sendgrid-php/HEAD/lib/mail/BypassUnsubscribeManagement.php -------------------------------------------------------------------------------- /lib/mail/Category.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sendgrid/sendgrid-php/HEAD/lib/mail/Category.php -------------------------------------------------------------------------------- /lib/mail/Cc.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sendgrid/sendgrid-php/HEAD/lib/mail/Cc.php -------------------------------------------------------------------------------- /lib/mail/ClickTracking.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sendgrid/sendgrid-php/HEAD/lib/mail/ClickTracking.php -------------------------------------------------------------------------------- /lib/mail/Content.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sendgrid/sendgrid-php/HEAD/lib/mail/Content.php -------------------------------------------------------------------------------- /lib/mail/CustomArg.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sendgrid/sendgrid-php/HEAD/lib/mail/CustomArg.php -------------------------------------------------------------------------------- /lib/mail/EmailAddress.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sendgrid/sendgrid-php/HEAD/lib/mail/EmailAddress.php -------------------------------------------------------------------------------- /lib/mail/Footer.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sendgrid/sendgrid-php/HEAD/lib/mail/Footer.php -------------------------------------------------------------------------------- /lib/mail/From.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sendgrid/sendgrid-php/HEAD/lib/mail/From.php -------------------------------------------------------------------------------- /lib/mail/Ganalytics.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sendgrid/sendgrid-php/HEAD/lib/mail/Ganalytics.php -------------------------------------------------------------------------------- /lib/mail/GroupId.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sendgrid/sendgrid-php/HEAD/lib/mail/GroupId.php -------------------------------------------------------------------------------- /lib/mail/GroupsToDisplay.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sendgrid/sendgrid-php/HEAD/lib/mail/GroupsToDisplay.php -------------------------------------------------------------------------------- /lib/mail/Header.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sendgrid/sendgrid-php/HEAD/lib/mail/Header.php -------------------------------------------------------------------------------- /lib/mail/HtmlContent.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sendgrid/sendgrid-php/HEAD/lib/mail/HtmlContent.php -------------------------------------------------------------------------------- /lib/mail/IpPoolName.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sendgrid/sendgrid-php/HEAD/lib/mail/IpPoolName.php -------------------------------------------------------------------------------- /lib/mail/Mail.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sendgrid/sendgrid-php/HEAD/lib/mail/Mail.php -------------------------------------------------------------------------------- /lib/mail/MailSettings.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sendgrid/sendgrid-php/HEAD/lib/mail/MailSettings.php -------------------------------------------------------------------------------- /lib/mail/MimeType.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sendgrid/sendgrid-php/HEAD/lib/mail/MimeType.php -------------------------------------------------------------------------------- /lib/mail/OpenTracking.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sendgrid/sendgrid-php/HEAD/lib/mail/OpenTracking.php -------------------------------------------------------------------------------- /lib/mail/Personalization.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sendgrid/sendgrid-php/HEAD/lib/mail/Personalization.php -------------------------------------------------------------------------------- /lib/mail/PlainTextContent.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sendgrid/sendgrid-php/HEAD/lib/mail/PlainTextContent.php -------------------------------------------------------------------------------- /lib/mail/ReplyTo.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sendgrid/sendgrid-php/HEAD/lib/mail/ReplyTo.php -------------------------------------------------------------------------------- /lib/mail/SandBoxMode.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sendgrid/sendgrid-php/HEAD/lib/mail/SandBoxMode.php -------------------------------------------------------------------------------- /lib/mail/Section.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sendgrid/sendgrid-php/HEAD/lib/mail/Section.php -------------------------------------------------------------------------------- /lib/mail/SendAt.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sendgrid/sendgrid-php/HEAD/lib/mail/SendAt.php -------------------------------------------------------------------------------- /lib/mail/SpamCheck.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sendgrid/sendgrid-php/HEAD/lib/mail/SpamCheck.php -------------------------------------------------------------------------------- /lib/mail/Subject.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sendgrid/sendgrid-php/HEAD/lib/mail/Subject.php -------------------------------------------------------------------------------- /lib/mail/SubscriptionTracking.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sendgrid/sendgrid-php/HEAD/lib/mail/SubscriptionTracking.php -------------------------------------------------------------------------------- /lib/mail/Substitution.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sendgrid/sendgrid-php/HEAD/lib/mail/Substitution.php -------------------------------------------------------------------------------- /lib/mail/TemplateId.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sendgrid/sendgrid-php/HEAD/lib/mail/TemplateId.php -------------------------------------------------------------------------------- /lib/mail/To.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sendgrid/sendgrid-php/HEAD/lib/mail/To.php -------------------------------------------------------------------------------- /lib/mail/TrackingSettings.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sendgrid/sendgrid-php/HEAD/lib/mail/TrackingSettings.php -------------------------------------------------------------------------------- /lib/mail/TypeException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sendgrid/sendgrid-php/HEAD/lib/mail/TypeException.php -------------------------------------------------------------------------------- /lib/stats/Stats.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sendgrid/sendgrid-php/HEAD/lib/stats/Stats.php -------------------------------------------------------------------------------- /phpcs.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sendgrid/sendgrid-php/HEAD/phpcs.xml -------------------------------------------------------------------------------- /prism.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sendgrid/sendgrid-php/HEAD/prism.sh -------------------------------------------------------------------------------- /scripts/package.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sendgrid/sendgrid-php/HEAD/scripts/package.sh -------------------------------------------------------------------------------- /sendgrid-php.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sendgrid/sendgrid-php/HEAD/sendgrid-php.php -------------------------------------------------------------------------------- /static/img/github-fork.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sendgrid/sendgrid-php/HEAD/static/img/github-fork.png -------------------------------------------------------------------------------- /static/img/github-sign-up.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sendgrid/sendgrid-php/HEAD/static/img/github-sign-up.png -------------------------------------------------------------------------------- /twilio_sendgrid_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sendgrid/sendgrid-php/HEAD/twilio_sendgrid_logo.png --------------------------------------------------------------------------------