mirror of
https://github.com/knadh/listmonk.git
synced 2024-11-10 09:02:36 +08:00
931e467b25
Campaign messages are handled by `manager` whereas test messages were being pushed directly into a messenger skipping some campaign related routines such as the addition of list unsub headers. This commit exposes a new function `manager.PushCampaignMessage()` that accepts arbitrary campaign messages that then pass through the standard campaign message workers, thus getting the missing unsub headers. This closes #360. In addition, this removes the superfluous `CampaignMessage.Render()` function which had to be mandatorily called always and makes it implicit in `manager.NewCampaignMessage()`.
29 lines
1,019 B
Modula-2
29 lines
1,019 B
Modula-2
module github.com/knadh/listmonk
|
|
|
|
go 1.13
|
|
|
|
require (
|
|
github.com/Masterminds/sprig/v3 v3.2.2
|
|
github.com/dgrijalva/jwt-go v3.2.0+incompatible // indirect
|
|
github.com/disintegration/imaging v1.6.2
|
|
github.com/gofrs/uuid v3.2.0+incompatible
|
|
github.com/jmoiron/sqlx v1.2.0
|
|
github.com/knadh/goyesql/v2 v2.1.1
|
|
github.com/knadh/koanf v0.12.0
|
|
github.com/knadh/smtppool v0.2.1
|
|
github.com/knadh/stuffbin v1.1.0
|
|
github.com/labstack/echo v3.3.10+incompatible
|
|
github.com/labstack/gommon v0.3.0 // indirect
|
|
github.com/lib/pq v1.3.0
|
|
github.com/mailru/easyjson v0.7.6
|
|
github.com/mitchellh/copystructure v1.1.2 // indirect
|
|
github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e // indirect
|
|
github.com/rhnvrm/simples3 v0.5.0
|
|
github.com/spf13/pflag v1.0.5
|
|
github.com/yuin/goldmark v1.3.4
|
|
golang.org/x/mod v0.3.0
|
|
gopkg.in/check.v1 v1.0.0-20200227125254-8fa46927fb4f // indirect
|
|
gopkg.in/volatiletech/null.v6 v6.0.0-20170828023728-0bef4e07ae1b
|
|
)
|
|
|
|
replace github.com/imdario/mergo => github.com/imdario/mergo v0.3.8
|