You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fmt.Sprintf("This is a friendly notification that you have exceeded %d of your monthly SMS limit on the %s plan.", percent, user.SubscriptionName),
69
+
fmt.Sprintf("You have sent %d messages and received %d messages. Upgrade your plan to send more messages on https://httpsms.com/billing", usage.SentMessages, usage.ReceivedMessages),
70
+
},
71
+
Actions: []hermes.Action{
72
+
{
73
+
Instructions: "Click the button below to upgrade your plan",
74
+
Button: hermes.Button{
75
+
Color: "#329ef4",
76
+
TextColor: "#FFFFFF",
77
+
Text: "UPGRADE PLAN",
78
+
Link: "https://httpsms.com/billing",
79
+
},
80
+
},
81
+
},
82
+
Title: "Hey,",
83
+
Signature: "Cheers",
84
+
Outros: []string{
85
+
fmt.Sprintf("Don't hesitate to contact us by replying to this email."),
86
+
},
87
+
},
88
+
}
89
+
90
+
html, err:=factory.generator.GenerateHTML(email)
91
+
iferr!=nil {
92
+
returnnil, stacktrace.Propagate(err, "cannot generate html email")
0 commit comments