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()`. |
||
---|---|---|
.. | ||
admin.go | ||
campaigns.go | ||
handlers.go | ||
i18n.go | ||
import.go | ||
init.go | ||
install.go | ||
lists.go | ||
main.go | ||
manager_db.go | ||
media.go | ||
notifications.go | ||
public.go | ||
queries.go | ||
settings.go | ||
subscribers.go | ||
templates.go | ||
updates.go | ||
upgrade.go | ||
utils.go |