2
0
Fork 0
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:
Régis Hanol 2016-10-17 11:26:49 +02:00
parent d8722e7a87
commit 3949c24f80
3 changed files with 2 additions and 4 deletions

View file

@ -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