メールとメッセージング

Brevo APIを通じてトランザクションメール、SMS、およびメッセージングキャンペーンを送信および管理します。

トランザクションメールを送信

const email = {
to: [{ email: "[email protected]", name: "John Doe" }],
sender: { email: "[email protected]", name: "Your App" },
subject: "Welcome to our service!",
htmlContent: "<h1>Welcome!</h1><p>Thank you for signing up.</p>"
};
brevo.transactionalEmails.sendTransacEmail(email);

SMSメッセージング

const sms = {
sender: "YourApp",
recipient: "+1234567890",
content: "Your verification code is: 123456"
};
brevo.transactionalSMS.sendTransacSms(sms);

機能

  • トランザクションメール
  • SMSメッセージング
  • メールテンプレート
  • 配信追跡
  • バウンス処理