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()`. |
||
---|---|---|
.. | ||
buflog | ||
i18n | ||
manager | ||
media | ||
messenger | ||
migrations | ||
subimporter |