Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: Glenn Morris <gmorris+news@ast.cam.ac.uk>
Subject: Re: Hide recipients addresses of a mail
Date: Tue, 15 Oct 2002 16:16:22 +0100	[thread overview]
Message-ID: <rswuoj3f7d.fsf@ast.cam.ac.uk> (raw)
In-Reply-To: <u7kgk2gdd.fsf@gnugnus.org>

Julien Barnier wrote:

> I guess this question must already have been posted, but I can't
> manage to find anything interesting in the archives.

I think this thread

http://groups.google.co.uk/groups?selm=yeb4resysb1.fsf%40xpc21.ast.cam.ac.uk

on gnu.emacs.help might help you (it was me asking the same question not so
long ago!).

> My question is : is there a function in Gnus which could allow to hide
> the list of the recipients of a mail message, /ie/ which could replace
> the content of the "To:" field by something else such as "undisclosed
> recipients" when the mail is sent ?
>
> I know I could do something like that using Bcc:...

You mean that you want to put the actual addresses in the BCC field, then
just have some descriptive string in the To field, yes?

If so, I think the short answer to your question is:

(setq send-mail-function 'smtpmail-send-it
      message-send-mail-function 'smtpmail-send-it
      smtpmail-default-smtp-server "your.mail.server.machine"
      mail-use-rfc822 t)

Then you can use strings like:

To: undisclosed recipients:;
BCC: real1@address.com, ...

(note the closing ":;") in the To: field.


           reply	other threads:[~2002-10-15 15:16 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <u7kgk2gdd.fsf@gnugnus.org>]

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=rswuoj3f7d.fsf@ast.cam.ac.uk \
    --to=gmorris+news@ast.cam.ac.uk \
    /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).