Unify SMTP2GO email and SMS into one webhook URL.
Classify payloads on /webhooks/smtp2go/ so one SMTP2GO webhook covers both channels under the 10-webhook limit; keep /email/ and /sms/ as aliases and harden SMS event matching.
This commit is contained in:
@@ -44,6 +44,8 @@ urlpatterns = [
|
||||
views.postcard_design_save,
|
||||
name="postcard_design_save",
|
||||
),
|
||||
path("webhooks/smtp2go/", views.smtp2go_webhook, name="smtp2go_webhook"),
|
||||
# Legacy aliases — same unified SMTP2GO handler.
|
||||
path("webhooks/sms/", views.sms_webhook, name="sms_webhook"),
|
||||
path("webhooks/email/", views.email_webhook, name="email_webhook"),
|
||||
path(
|
||||
|
||||
Reference in New Issue
Block a user