-
Notifications
You must be signed in to change notification settings - Fork 0
Home
uchicom edited this page Dec 8, 2025
·
3 revisions
Welcome to the smtp wiki!
- ユーザディレクトリに.webhook.ymlファイルを配置する
- .webhook.ymlに以下の設定を記載する
send: # webhook送信設定
method: post
url: https://dokosoko/test/api/webhook/mail
header:
Content-Type: application/json
Webhook-Token: smtp_webhook_0123456789
template: "{title:\"${subject}\", content:\"${content:1}\"}"
detection: # 受信メール検知条件設定
- subject: and 条件
content:
from: dokosoko@test
to: to@test
- subject: hoge # multipart条件
multipart:
ContentType: "text/html; charset=UTF-8"
- 起動時の引数に
webhookを追加して起動する