This plug-in enables kintone to send Emails through SendGrid.
See here in Japanese.
- Make Email templates in SendGrid. Both dynamic and legacy templates are supported.
- Install this plug-in into your environment.
- Add this plug-in into kintone apps which send emails from.
- Set general settings in the SendGrid plug-in.
- Create an API key on the SendGrid web portal.
- Set the API key into the SendGrid plug-in settings.
- Enter the From address into the SendGrid plug-in settings.
- Select the kintone field for the To.
- Select the default template name.
- Click the [+] button for adding option parameters.
- Enter the tag which you want to use in the templates.
- Select the kintone field for the tag.
- SendGrid account.
- kintone account.
- Browser
- Google Chrome
- Mozzila firefox
- Cloning the repository to any folder.
$ cd /Path/to/the/folder
$ git clone https://github.com/SendGridJP/kintone-sendgrid-plugin.git
- Resolving dependencies.
$ cd kintone-sendgrid-plugin
$ npm install
- Set environment variables for plugin uploader and plugin packer.
# Variables for plugin uploader
export KINTONE_DOMAIN=XXXXXXXX.cybozu.com
export KINTONE_USERNAME=%%KINTONE UERNAME%%
export KINTONE_PASSWORD=%%KINTONE PASSWORD%%
# Variables for plugin packer
export KINTONE_PPK=%%PPK FILE%%.ppk
- Building a plugin file.
$ npm run build
> kintone-sendgrid-plugin@1.0.0 build /Path/to/the/folder/kintone-sendgrid-plugin
> kintone-plugin-packer ./sendgrid --ppk $KINTONE_PPK
Succeeded: /Path/to/the/folder/kintone-sendgrid-plugin/plugin.zip
- Uploading the plugin file.
$ npm run upload
> kintone-sendgrid-plugin@1.0.0 upload /Path/to/the/folder/kintone-sendgrid-plugin
> kintone-plugin-uploader --domain $KINTONE_DOMAIN --username $KINTONE_USERNAME --password $KINTONE_PASSWORD plugin.zip
Open https://XXXXXXXX.cybozu.com/login?saml=off
Trying to log in...
Navigate to https://XXXXXXXX.cybozu.com/k/admin/system/plugin/
Trying to upload plugin.zip
plugin.zip をアップロードしました!
- Creating test data
$ cd test/data
$ ruby make.rb
Wataru Sato
Kozo Keikaku Engineering Inc.