move espect into Postal::MessageInspection

This commit is contained in:
Adam Cooke
2017-04-29 12:38:40 +01:00
parent 45fd472f76
commit f779e45f45
9 changed files with 1811 additions and 60 deletions
+1 -1
View File
@@ -87,7 +87,7 @@ class IncomingMessagePrototype
mail.to = @to
mail.from = @from
mail.subject = @subject
mail.body = @plain_body
mail.text_part = @plain_body
mail.message_id = "<#{SecureRandom.uuid}@#{Postal.config.dns.return_path}>"
attachments.each do |attachment|
mail.attachments[attachment[:name]] = {