From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/3711 Path: news.gmane.org!not-for-mail From: Fabian Braennstroem Newsgroups: gmane.emacs.gnus.user Subject: Re: send mail to several recipients with bbdb Date: Wed, 14 Apr 2004 14:19:15 +0200 Organization: Braennstroem Message-ID: <87ptaa92gs.fsf@tfdpc12.tfd.chalmers.se> References: <87lll0pg61.fsf@tfdpc12.tfd.chalmers.se> <864qrocoee.fsf@doze.rz-berlin.mpg.de> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1138669732 19992 80.91.229.2 (31 Jan 2006 01:08:52 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 31 Jan 2006 01:08:52 +0000 (UTC) Original-X-From: nobody Tue Jan 17 17:32:38 2006 Original-Path: quimby.gnus.org!newsfeed1.e.nsc.no!nsc.no!nextra.com!uio.no!feed.news.tiscali.de!fu-berlin.de!uni-berlin.de!tfdpc12.tfd.chalmers.SE!not-for-mail Original-Newsgroups: gnu.emacs.gnus Original-Sender: fab@tfdpc12.tfd.chalmers.se Original-NNTP-Posting-Host: tfdpc12.tfd.chalmers.se (129.16.64.95) Original-X-Trace: news.uni-berlin.de 1081946609 2474158 I 129.16.64.95 ([218584]) X-Orig-Path: tfdpc12.tfd.chalmers.se!news Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwAQMAAABtzGvEAAAAA1BMVEUA/wA0XsCoAAAADUlE QVR4nGNgGAXUBAABUAAB6+YoyQAAAABJRU5ErkJggg== User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux) Cancel-Lock: sha1:HykEpg47/CN7qkp39ZaaPVUXKns= Original-Xref: bridgekeeper.physik.uni-ulm.de gnus-emacs-gnus:3852 Original-Lines: 54 X-Gnus-Article-Number: 3852 Tue Jan 17 17:32:38 2006 Xref: news.gmane.org gmane.emacs.gnus.user:3711 Archived-At: Jochen Küpper 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