Re: Reply with another email as attachment?

2018-03-15 Thread Erik Christiansen
On 14.03.18 10:48, Tim Chase wrote:
> On 2018-03-15 00:37, Erik Christiansen wrote:
> > Yup, forward:
> > View the email to attach.
> > Hit 'f', and mutt will prompt: Forward as attachment? ([yes]/no):
> > Hit Enter, compose the accompanying email, with forward address,
> > etc.
> 
> I just tried this (both with an individual message as well as tagging
> multiple and using ";f" to forward the tagged messages) and they
> ended up in-line by default.  It looks like you might have to fiddle
> with the mime_forward quad-option which defaults to "no", setting it
> to an "ask*" option.

Uh-oh, you're right. Dusting off my .muttrc, I see that I set
mime_forward to ask-yes.

Erik


Re: Reply with another email as attachment?

2018-03-14 Thread Grant Edwards
On 2018-03-14, Scott Kostyshak  wrote:

> I have no idea if the following is good advice or not, but I'll mention
> it and let you investigate, unless the other method works well for you.
>
> You can "bounce" an email with the "b" key.

[...]

I've found that another disadvantage of bouncing e-mails to addresses
that aren't contained in the message headers is that some e-mail
systems will think they're spam and discard them.  What I don't grok
is how an SMTP server would differentiate between a bounced message
and a bcc'd message.

-- 
Grant Edwards   grant.b.edwardsYow! RHAPSODY in Glue!
  at   
  gmail.com



Re: Reply with another email as attachment?

2018-03-14 Thread David Woodfall

On (14/03/18 12:01), Scott Kostyshak  put forth the 
proposition:

On Wed, Mar 14, 2018 at 12:48:56PM +, David Woodfall wrote:

I have recently been in a discussion with a tech support person about
some emails that I have been receiving and I was asked to attach one
of them to a test email that she sent me.

I couldn't find how to do that, apart from actually finding the file
and attaching it that way. When I pressed 'a' to attach and then '?'
for a list I had a list of my folders up, but mutt wouldn't let me enter
them and gave a 'couldn't attach ' error.

Is there a way of doing this?


I have no idea if the following is good advice or not, but I'll mention
it and let you investigate, unless the other method works well for you.

You can "bounce" an email with the "b" key. The advantage of this is
that I believe the recipient will see the email just as you saw it. i.e.
all of the headers will be the same. When you attach an email (as per
the other solution), I'm not sure the headers are preserved. The
disadvantage is that the email will look strange if the person is not
expecting it (because the To: header will be to you!), so you should
always warn the recipient (in my case, usually a tech team).

Best,

Scott


--
Scott Kostyshak
Assistant Professor of Economics
University of Florida
https://people.clas.ufl.edu/skostyshak/


In this case I had to attach one email to another and send it back to
the tech support person, so using the 'A' to attach is perfect.


Re: Reply with another email as attachment?

2018-03-14 Thread Scott Kostyshak
On Wed, Mar 14, 2018 at 12:48:56PM +, David Woodfall wrote:
> I have recently been in a discussion with a tech support person about
> some emails that I have been receiving and I was asked to attach one
> of them to a test email that she sent me.
> 
> I couldn't find how to do that, apart from actually finding the file
> and attaching it that way. When I pressed 'a' to attach and then '?'
> for a list I had a list of my folders up, but mutt wouldn't let me enter
> them and gave a 'couldn't attach ' error.
> 
> Is there a way of doing this?

I have no idea if the following is good advice or not, but I'll mention
it and let you investigate, unless the other method works well for you.

You can "bounce" an email with the "b" key. The advantage of this is
that I believe the recipient will see the email just as you saw it. i.e.
all of the headers will be the same. When you attach an email (as per
the other solution), I'm not sure the headers are preserved. The
disadvantage is that the email will look strange if the person is not
expecting it (because the To: header will be to you!), so you should
always warn the recipient (in my case, usually a tech team).

Best,

Scott


-- 
Scott Kostyshak
Assistant Professor of Economics
University of Florida
https://people.clas.ufl.edu/skostyshak/



Re: Reply with another email as attachment?

2018-03-14 Thread Tim Chase
On 2018-03-15 00:37, Erik Christiansen wrote:
> Yup, forward:
> View the email to attach.
> Hit 'f', and mutt will prompt: Forward as attachment? ([yes]/no):
> Hit Enter, compose the accompanying email, with forward address,
> etc.

I just tried this (both with an individual message as well as tagging
multiple and using ";f" to forward the tagged messages) and they
ended up in-line by default.  It looks like you might have to fiddle
with the mime_forward quad-option which defaults to "no", setting it
to an "ask*" option.

-tkc






Re: Reply with another email as attachment?

2018-03-14 Thread David Woodfall

On (14/03/18 14:22), Bastian  put forth the 
proposition:

On 14Mar18 12:48 +, David Woodfall wrote:

I couldn't find how to do that, apart from actually finding the file
and attaching it that way. When I pressed 'a' to attach and then '?'
for a list I had a list of my folders up, but mutt wouldn't let me enter
them and gave a 'couldn't attach ' error.

Is there a way of doing this?


a - attach-file- attach file(s) to this message
A - attach-message - attach message(s) to this message

I don't remember all the keybindings. I have to look up especially those
which are rarely used. I find it really helpful to hit '?' on the
current view to get the list of keybindings along with their
description. You can search within that list with '/'. In your case,
searching for 'attach' you'll find the command 'attach-message'. Maybe
this helps a bit.


Cheers,
--
Bastian


Thanks, 'A' does the trick.

Dave


Re: Reply with another email as attachment?

2018-03-14 Thread David Woodfall

On (15/03/18 00:37), Erik Christiansen  put forth the 
proposition:

On 14.03.18 12:48, David Woodfall wrote:

I have recently been in a discussion with a tech support person about
some emails that I have been receiving and I was asked to attach one
of them to a test email that she sent me.

I couldn't find how to do that, apart from actually finding the file
and attaching it that way. When I pressed 'a' to attach and then '?'
for a list I had a list of my folders up, but mutt wouldn't let me enter
them and gave a 'couldn't attach ' error.

Is there a way of doing this?


Yup, forward:
View the email to attach.
Hit 'f', and mutt will prompt: Forward as attachment? ([yes]/no):
Hit Enter, compose the accompanying email, with forward address, etc.

Erik


When I press 'f' I just get a 'To' prompt, then it goes straight to
the send window.


Re: Reply with another email as attachment?

2018-03-14 Thread Yubin Ruan
On Wed, Mar 14, 2018 at 02:22:26PM +0100, Bastian wrote:
> On 14Mar18 12:48 +, David Woodfall wrote:
> > I couldn't find how to do that, apart from actually finding the file
> > and attaching it that way. When I pressed 'a' to attach and then '?'
> > for a list I had a list of my folders up, but mutt wouldn't let me enter
> > them and gave a 'couldn't attach ' error.
> > 
> > Is there a way of doing this?
> 
> a - attach-file- attach file(s) to this message
> A - attach-message - attach message(s) to this message
> 
> I don't remember all the keybindings. I have to look up especially those 
> which are rarely used. I find it really helpful to hit '?' on the 
> current view to get the list of keybindings along with their 
> description. You can search within that list with '/'. In your case, 
> searching for 'attach' you'll find the command 'attach-message'. Maybe 
> this helps a bit.

Whoop! This is much cleaner!

Yubin


Re: Reply with another email as attachment?

2018-03-14 Thread Erik Christiansen
On 14.03.18 12:48, David Woodfall wrote:
> I have recently been in a discussion with a tech support person about
> some emails that I have been receiving and I was asked to attach one
> of them to a test email that she sent me.
> 
> I couldn't find how to do that, apart from actually finding the file
> and attaching it that way. When I pressed 'a' to attach and then '?'
> for a list I had a list of my folders up, but mutt wouldn't let me enter
> them and gave a 'couldn't attach ' error.
> 
> Is there a way of doing this?

Yup, forward:
View the email to attach.
Hit 'f', and mutt will prompt: Forward as attachment? ([yes]/no):
Hit Enter, compose the accompanying email, with forward address, etc.

Erik


Re: Reply with another email as attachment?

2018-03-14 Thread Bastian
On 14Mar18 12:48 +, David Woodfall wrote:
> I couldn't find how to do that, apart from actually finding the file
> and attaching it that way. When I pressed 'a' to attach and then '?'
> for a list I had a list of my folders up, but mutt wouldn't let me enter
> them and gave a 'couldn't attach ' error.
> 
> Is there a way of doing this?

a - attach-file- attach file(s) to this message
A - attach-message - attach message(s) to this message

I don't remember all the keybindings. I have to look up especially those 
which are rarely used. I find it really helpful to hit '?' on the 
current view to get the list of keybindings along with their 
description. You can search within that list with '/'. In your case, 
searching for 'attach' you'll find the command 'attach-message'. Maybe 
this helps a bit.


Cheers,
-- 
Bastian


Reply with another email as attachment?

2018-03-14 Thread David Woodfall

I have recently been in a discussion with a tech support person about
some emails that I have been receiving and I was asked to attach one
of them to a test email that she sent me.

I couldn't find how to do that, apart from actually finding the file
and attaching it that way. When I pressed 'a' to attach and then '?'
for a list I had a list of my folders up, but mutt wouldn't let me enter
them and gave a 'couldn't attach ' error.

Is there a way of doing this?