Skip to content

AdaisukeV/sendgridjp-php-example

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sendgridjp-php-example

本コードはSendGrid公式PHPライブラリの利用サンプルです。

使い方

git clone [email protected]:SendGridJP/sendgridjp-php-example.git
cd sendgridjp-php-example
cp .env.example .env
# .envファイルを編集してください
composer install
php -f sendgrid-php-example.php

.envファイルの編集

.envファイルは以下のような内容になっています。

API_KEY:SendGridのAPI Keyを指定してください。
TOS:宛先をカンマ区切りで指定してください。
FROM:送信元アドレスを指定してください。

About

SendGrid公式PHPライブラリの利用サンプル

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • PHP 95.4%
  • Shell 4.6%