unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Jeff Clough <jeff@chaosphere.com>
To: help-gnu-emacs@gnu.org
Subject: Re: setting mail-self-blind to t has no effect
Date: Tue, 23 Mar 2010 13:45:19 -0400	[thread overview]
Message-ID: <m3y6hjhqz4.fsf@logrus.localdomain> (raw)
In-Reply-To: f5115337-7ee2-4d42-a115-357f976fff90@o30g2000yqb.googlegroups.com

Francis Moreau <francis.moro@gmail.com> writes:

> I would like to add a "Bcc:" field in my emails that I compose from
> emacs (by calling compose-mail).

Compose mail also relies on whatever is assigned to mail-user-agent.  Do
this...

(setq mail-user-agent 'sendmail-user-agent)

And see if that works.  It works for me, but if I have gnus-user-agent
in there, it doesn't.

> 'mail-self-blind' seems to do the job but setting this variable to
> true doesn't work, no Bcc header is added, whereas doing:

This should do the job, in theory, but it looks like it's up to the
actual user agent to pay attention to it.

> Could anybody know why the first solution doesn't work.

My guess is that you're running Gnus (or at least, some other package
that doesn't pay attention to mail-self-blind).  Gnus has it's own way
of doing this, which you can find discussed here:

http://sunsite.ualberta.ca/Documentation/Gnu/emacs-20.7/html_chapter/gnus_5.html#SEC125

Alternatively, you could just use the sendmail-user-agent and have this
stuff sent back to you.  I chose this as the path of least resistance.
At least for now.

Hope this helps.

Jeff



  reply	other threads:[~2010-03-23 17:45 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-23 17:08 setting mail-self-blind to t has no effect Francis Moreau
2010-03-23 17:45 ` Jeff Clough [this message]
2010-03-23 20:49   ` Francis Moreau

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m3y6hjhqz4.fsf@logrus.localdomain \
    --to=jeff@chaosphere.com \
    --cc=help-gnu-emacs@gnu.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 read-only IMAP folder(s) and NNTP newsgroup(s).