mirror of
https://github.com/discourse/discourse.git
synced 2025-09-05 08:59:27 +08:00
FIX: sparkpost webhooks support
This commit is contained in:
parent
d8722e7a87
commit
3949c24f80
3 changed files with 2 additions and 4 deletions
|
@ -139,8 +139,6 @@ 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