From: Xavier Maillard <zedek+mail@gnu-rox.org>
Subject: [Q]: function `message-insert-disposition-notificatio-to`
Date: Sun, 04 Jan 2004 18:58:11 +0100 [thread overview]
Message-ID: <plop873cavk34c.fsf@gnu-rox.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 1321 bytes --]
Hi,
When I want someone to send me a return receipt, I am used to press `C-c
M-n`.
All is right for me but now I am trying to obfuscate my 'From' header so
instead of a real address, I have a '+something' (ie +mail for mails)
or other mark to obfuscate my mail (depending of the mailing list
software manager).
So taking message-insert-disposition-notification-to function:
,---- [ message.el ]
| (defun message-insert-disposition-notification-to ()
| "Request a disposition notification (return receipt) to this message.
| Note that this should not be used in newsgroups."
| (interactive)
| (save-excursion
| (save-restriction
| (message-narrow-to-headers)
| (message-remove-header "Disposition-Notification-To"))
| (message-goto-eoh)
| (insert (format "Disposition-Notification-To: %s\n"
| (or (message-field-value "Reply-to")
| (message-field-value "From")
| (message-make-from))))))
`----
I always have to manually remove the '+' part from my 'From' headers.
Is there a simple way to advice this function such like it de-obfuscate
automatically the 'From' header and so get a good and real email
address ?
I am not really familiar with advice so maybe can one help me ? :)
Thanx
zeDek
--
In Gruuik we trust
[-- Attachment #2: Type: application/pgp-signature, Size: 188 bytes --]
next reply other threads:[~2004-01-04 17:58 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-01-04 17:58 Xavier Maillard [this message]
2004-01-04 20:46 ` Lars Magne Ingebrigtsen
2004-01-04 21:02 ` Xavier Maillard
2004-01-04 21:07 ` Lars Magne Ingebrigtsen
2004-01-04 22:55 ` Xavier Maillard
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=plop873cavk34c.fsf@gnu-rox.org \
--to=zedek+mail@gnu-rox.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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 NNTP newsgroup(s).