unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* Resending the same email
@ 2015-08-23 13:00 Sebastian Fischmeister
  2015-08-23 19:45 ` David Mazieres
  0 siblings, 1 reply; 4+ messages in thread
From: Sebastian Fischmeister @ 2015-08-23 13:00 UTC (permalink / raw)
  To: notmuch

Hi,

My previous mail editor had a useful feature to resend already sent
emails. It's essentially opening an already sent email and have the
senders, subject, and body pre-filled as well as all attachments
attached.

Is this easy to achieve in notmuch? The attachments seem a bit tricky.

Thanks,
  Sebastian

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Resending the same email
  2015-08-23 13:00 Resending the same email Sebastian Fischmeister
@ 2015-08-23 19:45 ` David Mazieres
  2015-08-23 20:41   ` Jani Nikula
  0 siblings, 1 reply; 4+ messages in thread
From: David Mazieres @ 2015-08-23 19:45 UTC (permalink / raw)
  To: sfischme, notmuch

Sebastian Fischmeister <sfischme@uwaterloo.ca> writes:

> Hi,
>
> My previous mail editor had a useful feature to resend already sent
> emails. It's essentially opening an already sent email and have the
> senders, subject, and body pre-filled as well as all attachments
> attached.
>
> Is this easy to achieve in notmuch? The attachments seem a bit tricky.

I often pipe the message to sendmail, using emacs's
notmuch-show-pipe-message command (bound to '|' by default).  However I
agree it would be much nicer to be able to edit the headers slightly, so
as to add headers like Resent-To.

On a related note, another feature I really miss is the ability to edit
and re-send a bounced message.  (I realize this could be problematic for
notmuch, in that you really want to re-send it with the same
message-ID.)

David

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Resending the same email
  2015-08-23 19:45 ` David Mazieres
@ 2015-08-23 20:41   ` Jani Nikula
  2015-08-24  4:55     ` Tomi Ollila
  0 siblings, 1 reply; 4+ messages in thread
From: Jani Nikula @ 2015-08-23 20:41 UTC (permalink / raw)
  To: David Mazieres expires 2015-11-21 PST, sfischme, notmuch

On Sun, 23 Aug 2015, David Mazieres <dm-list-email-notmuch@scs.stanford.edu> wrote:
> Sebastian Fischmeister <sfischme@uwaterloo.ca> writes:
>
>> Hi,
>>
>> My previous mail editor had a useful feature to resend already sent
>> emails. It's essentially opening an already sent email and have the
>> senders, subject, and body pre-filled as well as all attachments
>> attached.
>>
>> Is this easy to achieve in notmuch? The attachments seem a bit tricky.
>
> I often pipe the message to sendmail, using emacs's
> notmuch-show-pipe-message command (bound to '|' by default).  However I
> agree it would be much nicer to be able to edit the headers slightly, so
> as to add headers like Resent-To.
>
> On a related note, another feature I really miss is the ability to edit
> and re-send a bounced message.  (I realize this could be problematic for
> notmuch, in that you really want to re-send it with the same
> message-ID.)

http://notmuchmail.org/emacstips/#index16h2

    (define-key notmuch-show-mode-map "b"
      (lambda (&optional address)
        "Bounce the current message."
        (interactive "sBounce To: ")
        (notmuch-show-view-raw-message)
        (message-resend address)))

This really should be part of notmuch-emacs, but as I recall it we just
never came to a conclusion whether this does the right thing or not.

BR,
Jani.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Resending the same email
  2015-08-23 20:41   ` Jani Nikula
@ 2015-08-24  4:55     ` Tomi Ollila
  0 siblings, 0 replies; 4+ messages in thread
From: Tomi Ollila @ 2015-08-24  4:55 UTC (permalink / raw)
  To: Jani Nikula, David Mazieres expires 2015-11-21 PST, sfischme,
	notmuch

On Sun, Aug 23 2015, Jani Nikula <jani@nikula.org> wrote:

> On Sun, 23 Aug 2015, David Mazieres <dm-list-email-notmuch@scs.stanford.edu> wrote:
>> Sebastian Fischmeister <sfischme@uwaterloo.ca> writes:
>>
>>> Hi,
>>>
>>> My previous mail editor had a useful feature to resend already sent
>>> emails. It's essentially opening an already sent email and have the
>>> senders, subject, and body pre-filled as well as all attachments
>>> attached.
>>>
>>> Is this easy to achieve in notmuch? The attachments seem a bit tricky.
>>
>> I often pipe the message to sendmail, using emacs's
>> notmuch-show-pipe-message command (bound to '|' by default).  However I
>> agree it would be much nicer to be able to edit the headers slightly, so
>> as to add headers like Resent-To.
>>
>> On a related note, another feature I really miss is the ability to edit
>> and re-send a bounced message.  (I realize this could be problematic for
>> notmuch, in that you really want to re-send it with the same
>> message-ID.)
>
> http://notmuchmail.org/emacstips/#index16h2
>
>     (define-key notmuch-show-mode-map "b"
>       (lambda (&optional address)
>         "Bounce the current message."
>         (interactive "sBounce To: ")
>         (notmuch-show-view-raw-message)
>         (message-resend address)))
>
> This really should be part of notmuch-emacs, but as I recall it we just
> never came to a conclusion whether this does the right thing or not.

There is also http://article.gmane.org/gmane.mail.notmuch.general/20179
(which is now stale, due to context in defining key "b")

I've planned a new version which does *NOT*

1) initially do the comma (,) magic in notmuch-address-from-minibuffer

2) initially add the keybinding "b" in notmuch-show-mode-map

... that means a 3-patch series :D


Tomi


>
> BR,
> Jani.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-08-24  4:56 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-23 13:00 Resending the same email Sebastian Fischmeister
2015-08-23 19:45 ` David Mazieres
2015-08-23 20:41   ` Jani Nikula
2015-08-24  4:55     ` Tomi Ollila

Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).