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

Testing the api for sending email

lotk4bec5664ad55
diff --git a/core/internal/controller/batch_mail/batch_mail_v1_api_templates_list.go b/core/internal/controller/batch_mail/batch_mail_v1_api_templates_list.go
index 2d9301d9..c2201134 100644
--- a/core/internal/controller/batch_mail/batch_mail_v1_api_templates_list.go
+++ b/core/internal/controller/batch_mail/batch_mail_v1_api_templates_list.go
@@ -131,7 +131,7 @@ func (c *ControllerV1) ApiTemplatesList(ctx context.Context, req *v1.ApiTemplate
ips = append(ips, row.Ip)
}
item.IpWhitelist = ips
- item.ServerAddresser = public.GethostUrl()
+ item.ServerAddresser = public.GethostUrl() + "api/batch_mail/api/send"
}
res.Data.Total = total