@using BTCPayServer.HostedServices.Webhooks @using Microsoft.AspNetCore.Mvc.TagHelpers @model BTCPayServer.Controllers.UIStoresController.StoreEmailRuleViewModel @inject WebhookSender WebhookSender @{ bool isEdit = Model.Trigger != null; ViewData["Title"] = isEdit ? "Edit Store Email Rule" : "Create Store Email Rule"; } @section PageHeadContent { }
Choose what event sends the email.
Who to send the email to. For multiple emails, separate with a comma.
Placeholders
Invoice {Invoice.Id}, {Invoice.StoreId}, {Invoice.Price}, {Invoice.Currency}, {Invoice.Status}, {Invoice.AdditionalStatus}, {Invoice.OrderId} {Invoice.Metadata}*
Request {PaymentRequest.Id}, {PaymentRequest.Price}, {PaymentRequest.Currency}, {PaymentRequest.Title}, {PaymentRequest.Description}, {PaymentRequest.Status} {PaymentRequest.FormResponse}*
Payout {Payout.Id}, {Payout.PullPaymentId}, {Payout.Destination}, {Payout.State} {Payout.Metadata}*
* These fields are JSON objects. You can access properties within them using this syntax. One example is {Invoice.Metadata.itemCode}
@section PageFootContent { }