Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: Fabian Braennstroem <f.braennstroem@gmx.de>
Subject: Re: send mail to several recipients with bbdb
Date: Wed, 14 Apr 2004 14:19:15 +0200	[thread overview]
Message-ID: <87ptaa92gs.fsf@tfdpc12.tfd.chalmers.se> (raw)
In-Reply-To: <864qrocoee.fsf@doze.rz-berlin.mpg.de>

Jochen Küpper <usenet@jochen-kuepper.de> writes:

> On Tue, 13 Apr 2004 08:04:22 +0200 Fabian Braennstroem wrote:
>
> Fabian> when I get a mail with a lot of 'cc'-addresses, how can I save
> Fabian> them in bbdb.
>
> Are you looking for this?
> ,----[ C-h f bbdb/gnus-show-all-recipients RET ]
> | bbdb/gnus-show-all-recipients is an interactive compiled Lisp function in `bbdb-gnus'.
> | (bbdb/gnus-show-all-recipients)
> | 
> | Show all recipients of this message. Counterpart to `bbdb/vm-show-sender'.
> `----
>
> Fabian> And further on, how can I make a group, e.g. 'University',
> Fabian> from existing name-entries in bbdb which I can select to send
> Fabian> the mail to?
>
> Create 'mail-alias' entries in each of these entries with a value of
> 'University'. Then check out
> ,----[ C-h f bbdb-define-all-aliases RET ]
> | bbdb-define-all-aliases is an interactive compiled Lisp function in `bbdb-com'.
> | (bbdb-define-all-aliases)
> | 
> | Define mail aliases for some of the records in the database.
> | Every record which has a `mail-alias' field will have a mail alias
> | defined for it which is the contents of that field.  If there are
> | multiple comma-separated words in the `mail-alias' field, then all
> | of those words will be defined as aliases for that person.
> | 
> | If multiple entries in the database have the same mail alias, then
> | that alias expands to a comma-separated list of the network addresses
> | of all of those people.
> `----
Thanks! But somehow I am not able to insert the alias!?
My alias-relevant (I think :-)) code looks like this:

  ;; BBDB mail alias definitions:
  (autoload 'bbdb-define-all-aliases
    "bbdb-com" "Hook mail alias feature of BBDB into message-mode." t)
  (add-hook 'message-setup-hook 'bbdb-define-all-aliases)
  (add-hook 'message-mode-hook 'ls6-message-mode-hook-mail-aliases)
  (defun ls6-message-mode-hook-mail-aliases ()
    (define-key message-mode-map (kbd "C-c C-a")
      'mail-interactive-insert-alias))
  (setq bbdb-completion-display-record nil)

Does anybody have an idea?

Greetings!
-- 
Fabian Braennstroem
Berlin / Duesseldorf


       reply	other threads:[~2004-04-14 12:19 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <87lll0pg61.fsf@tfdpc12.tfd.chalmers.se>
     [not found] ` <864qrocoee.fsf@doze.rz-berlin.mpg.de>
2004-04-14 12:19   ` Fabian Braennstroem [this message]
2004-04-15 22:42     ` Jochen Küpper
     [not found]       ` <871xmjqhdp.fsf@tfdpc12.tfd.chalmers.se>
     [not found]         ` <861xmiebgk.fsf@doze.rz-berlin.mpg.de>
     [not found]           ` <87fzaxj1aj.fsf@tfdpc12.tfd.chalmers.se>
     [not found]             ` <87k7092uof.fsf@emptyhost.emptydomain.de>
2004-04-23  6:20               ` Fabian Braennstroem

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=87ptaa92gs.fsf@tfdpc12.tfd.chalmers.se \
    --to=f.braennstroem@gmx.de \
    /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).