Skip to content

BillionMail gives you open-source MailServer, NewsLetter, Email Marketing — fully self-hosted, dev-friendly, and free from monthly fees. Join the discord: https://discord.gg/asfXzBUhZr

Fix scheduled tasks

lotk551b3882f155
diff --git a/core/internal/controller/subscribe_list/subscribe_list.go b/core/internal/controller/subscribe_list/subscribe_list.go
index 6ab816a5..55713dbd 100644
--- a/core/internal/controller/subscribe_list/subscribe_list.go
+++ b/core/internal/controller/subscribe_list/subscribe_list.go
@@ -326,7 +326,8 @@ func GetDefaultDomain() (string, error) {
// Get subscription form code
func GetSubscribeFormCode(groupToken string) string {
- filePath := public.AbsPath("../core/public/html/subscribe_form_code.html")
+
+ filePath := public.AbsPath("../core/template/subscribe_form_code.html")
content := gfile.GetContents(filePath)
ctx := context.Background()
g.Log().Warning(ctx, "subscribe_form_code.html path----->", filePath)