* limiting storage of sent emails
@ 2010-05-06 15:05 Richard Riley
0 siblings, 0 replies; only message in thread
From: Richard Riley @ 2010-05-06 15:05 UTC (permalink / raw)
To: info-gnus-english
I am trying NOT to archive or store sent messages if the From field is a
certain value. This is not working reliably for me. Which function or method
should I use to access the correct From field? I had used the "original
article" field but that doesnt work if its the first email of a gnus
session so I guess that was not correct.
from my custom.el
,----
| '(gnus-message-archive-group (quote ((if (message-news-p) nil (unless (string-match "rileyrg@" (gnus-fetch-field "From")) "nnimap+mymail:INBOX.sent")))))
`----
What his should be doing is ONLY archiving emails and then only if the
From is not rileyrg@.
Any help or pointers appreciated.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2010-05-06 15:05 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-05-06 15:05 limiting storage of sent emails Richard Riley
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).