Google Cloud Functions

Webhook APIを使ってGoogle Cloud Functionsを呼び出す

Customers Mail Cloudではプログラム側からデータを取得したり、メールを送信するWeb APIの他に、Customers Mail Cloudでメールを受信した時にイベントを伝えてくれるWebhook APIが用意されています。 Webhook APIを使うことで、自前でメールサーバを立てず…

Google Cloud FunctionsがRubyに対応したのでCustomers Mail Cloudと連携させてみた

Google Cloud FunctionsはいわゆるFaaS(Functions as a Service)になります。JavaやC#、Node.js、Pythonなどに対応していましたが、2021年1月からRuby(2.6または2.7系)にも対応しました。 今回はCustomers Mail CloudのRubyライブラリを使って、Google C…

Google Cloud Functions × JavaScript でメールを送信する

Google Cloud FunctionsはGoogle Cloud PlatformのFaaS(Function As a Service)で、サーバレスでスクリプトを実行できます。今回はこのGoogle Cloud Functionsを使って、Customers Mail Cloudでメール送信を行う方法を紹介します。 Customers Mail Cloudの…