discourse/spec/fixtures/emails/attached_txt_file.eml
Régis Hanol 46b6c55197 FIX: replace 'discourse_email_parser' with 'email_reply_trimmer' to better trim replies from plain text emails
FIX: undefined method `number_to_human_size' when email contains attachments
2016-01-30 01:29:31 +01:00

31 lines
845 B
Plaintext

Return-Path: <discourse@bar.com>
From: Foo Bar <discourse@bar.com>
To: reply+4f97315cc828096c9cb34c6f1a0d6fe8@bar.com
Date: Sat, 30 Jan 2016 01:10:11 +0100
Message-ID: <38@foo.bar.mail>
Mime-Version: 1.0
Content-Type: multipart/mixed;
boundary="--==_mimepart_56abff5d49749_ddf83fca6d033a28548ad";
charset=UTF-8
Content-Transfer-Encoding: 7bit
----==_mimepart_56abff5d49749_ddf83fca6d033a28548ad
Content-Type: text/plain;
charset=UTF-8;
filename=text.txt
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
filename=text.txt
Content-ID: <56abff637aac_ddf83fca6d033a2855099@HAL.lan.mail>
This is a txt file.
----==_mimepart_56abff5d49749_ddf83fca6d033a28548ad
Content-Type: text/plain;
charset=UTF-8
Content-Transfer-Encoding: 7bit
Please find some text file attached.
----==_mimepart_56abff5d49749_ddf83fca6d033a28548ad--