-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Said Michael P. Soulier on Tue, Mar 19, 2002 at 10:35:30AM -0500:
> Is there a way in Mutt to specify the To: field of an outgoing email
> based on addresses in a random text file? I'm aware of the alias
> capability to specify mailing lists, but if I simply have a file of
> email addresses, and I'd like Mutt to use those for an outgoing
> message, is there a simple way to accomplish that?
I would think that if you use vim that you could accomplish this in a
roundabout way with a vim macro. It could use something like:
:r!cat file.txt | sed 's/\n/, /g'
at the To: field in some fashion. The above is by no means tested (or
even guaranteed correct :-) but is a general idea.
As for from within Mutt itself and not the editor, I'm not sure. I'm
not aware of a way to read in any value to one of the header fields as
you are editing it.
Maybe someone can build on my brainstorm?
- --
[!] Justin R. Miller <[EMAIL PROTECTED]>
PGP 0xC9C40C31 -=- http://codesorcery.net
http://www.gnu.org/philosophy/amazon.html
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE8l2BE94d6K8nEDDERAlExAKCMhR6Xpik6FiTRXuc5btB55+3BqwCfYXqm
Fhl6He8Dn8cBozbLB7lc5XU=
=ZH/j
-----END PGP SIGNATURE-----