Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
* function to inhibit sending email using the wrong user-mail-address?
@ 2007-02-14 18:39 Frank Fredstone
  0 siblings, 0 replies; only message in thread
From: Frank Fredstone @ 2007-02-14 18:39 UTC (permalink / raw)
  To: info-gnus-english

On a couple of occasions I have sent email to my work using my home
email address and sent email to non-work related people using my work
email address, and I don't want to do that again.

I'd like to write a function to prompt me if I have a
user-mail-address set the wrong way when sending to someone who's
address matches some pattern or goes through some filter like the
splitting mechanism.

What is the best way to write such a function?  Should I bind the key
sequence I use to send email to my function, or does a callback exist
already? Do I get access to the headers of the mail I'm sending by
searching the current buffer, or is there another way?

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-02-14 18:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-02-14 18:39 function to inhibit sending email using the wrong user-mail-address? Frank Fredstone

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