Gnus development mailing list
 help / color / mirror / Atom feed
* [Q]: function `message-insert-disposition-notificatio-to`
@ 2004-01-04 17:58 Xavier Maillard
  2004-01-04 20:46 ` Lars Magne Ingebrigtsen
  0 siblings, 1 reply; 5+ messages in thread
From: Xavier Maillard @ 2004-01-04 17:58 UTC (permalink / 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 --]

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

end of thread, other threads:[~2004-01-04 22:55 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-01-04 17:58 [Q]: function `message-insert-disposition-notificatio-to` Xavier Maillard
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

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).