mirror of
https://github.com/discourse/discourse.git
synced 2025-09-05 08:59:27 +08:00
FEATURE: sparkpost webhook
This commit is contained in:
parent
4e663998af
commit
34af73c7cb
4 changed files with 49 additions and 0 deletions
|
@ -139,6 +139,8 @@ module Email
|
|||
@message.header['X-MJ-CustomID'] = @message.message_id
|
||||
when "smtp.mandrillapp.com"
|
||||
@message.header['X-MC-Metadata'] = { message_id: @message.message_id }.to_json
|
||||
when "smtp.sparkpostmail.com"
|
||||
@message.header['X-MSYS-API'] = { campaign_id: @message.message_id }.to_json
|
||||
end
|
||||
|
||||
# Suppress images from short emails
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue