On Sat, Apr 2, 2016 at 2:23 AM, Will Yardley
<[email protected]> wrote:
> On Sat, Apr 02, 2016 at 01:19:12AM -0400, Xu Wang wrote:
>>
>> Suppose that I have a full email (i.e. with headers and everything).
>> e.g. I want to keep the message ID the same. How can I used mutt's
>> build-in smtp to send the email? Basically i want mutt to just send
>> the email that is already written and not change any header.
>
> You can use 'bounce-message' (I think b with default bindings) to
> redirect the message to one or more recipients, though Mutt will add a
> few headers, most starting with 'Resent-' (Message-ID will stay the
> same).
>
> You can use 'resend-message' (esc-e) to use the current message as a
> template for the new one, but Message-ID will change.

Thank you, Will. is there any way to send from command-line? For
example, I have a file like following:

----------------------------------------------------------------------
Date: Fri, 1 Apr 2016 21:56:07 -0400
From: Xu Wang <[email protected]>
To: [email protected]
Subject: test_subject_line
Message-ID: <messageidkj23323232323>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.5.23.1 (2014-03-12)

This is sample body for test message
----------------------------------------------------------------------

Kind regard,

Xu

Reply via email to