feat: development compose file;

fix: smtp service
This commit is contained in:
2025-07-10 01:41:54 +03:00
parent 15c140db31
commit 293366cc59
2 changed files with 129 additions and 2 deletions

View File

@@ -117,8 +117,8 @@ func (s *smtpServiceImpl) SendEmail(to string, subject, body string) error {
return err
}
for _, recipient := range to {
if err = client.Rcpt(string(recipient)); err != nil {
for _, recipient := range toSlice {
if err = client.Rcpt(recipient); err != nil {
s.log.Error("SMTP recipient set failed", zap.Error(err))
return err
}