Skip to content

Commit

Permalink
synced with master
Browse files Browse the repository at this point in the history
  • Loading branch information
ganigeorgiev committed Aug 25, 2022
2 parents a908d20 + 3bfa0b6 commit f14105b
Show file tree
Hide file tree
Showing 11 changed files with 15 additions and 19 deletions.
6 changes: 1 addition & 5 deletions tools/mailer/smtp.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import (
"io"
"net/mail"
"net/smtp"
"strings"

"github.com/domodwyer/mailyak/v3"
)
Expand Down Expand Up @@ -65,10 +64,7 @@ func (m *SmtpClient) Send(
yak.FromName(fromEmail.Name)
}
yak.From(fromEmail.Address)

// wrap in brackets as workaround for spamassasin "TO_NO_BRKTS_HTML_ONLY" rule
yak.To(strings.TrimSpace(fmt.Sprintf("%s <%s>", toEmail.Name, toEmail.Address)))

yak.To(toEmail.Address)
yak.Subject(subject)
yak.HTML().Set(htmlContent)

Expand Down
2 changes: 1 addition & 1 deletion ui/.env
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ PB_PROFILE_COLLECTION = "profiles"
PB_INSTALLER_PARAM = "installer"
PB_RULES_SYNTAX_DOCS = "https://pocketbase.io/docs/manage-collections#rules-filters-syntax"
PB_RELEASES = "https://github.com/pocketbase/pocketbase/releases"
PB_VERSION = "v0.5.0"
PB_VERSION = "v0.5.1"

Large diffs are not rendered by default.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit f14105b

Please sign in to comment.