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()`.
8 lines
230 B
JSON
Vendored
8 lines
230 B
JSON
Vendored
{
|
|
"baseUrl": "http://localhost:9000",
|
|
"env": {
|
|
"server_init_command": "pkill -9 listmonk | cd ../ && ./listmonk --install --yes && ./listmonk > /dev/null 2>/dev/null &",
|
|
"username": "listmonk",
|
|
"password": "listmonk"
|
|
}
|
|
}
|