* Michael P. Soulier <[EMAIL PROTECTED]> [2002-03-19]:
> 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'm not sure what you mean by "random text file", but here's how I do it.

   1. Make sure $edit_headers set so that you can modify the To: field in
      your editor.

   2. using your editor:
      2a. read in the file with the email address in it
      2b. join the addresses into one line, separating them by a command and
          a space (", ")
      2c. put this line on the To: line.

   3. send your message

1 and 3 are trivial, #2 assumes you have a good editor and know how to use
it properly. You are using Vim right? =-)

noble

-- 
ObligatoryMusicNote: Found a used copy of a King's X Dogman CD in a local
                     music store yesterday. Haven't listened to this one in
                     almost a decade! (What ever happened to my cassette I
                     wonder...) Listening to it now, it rocks...

Reply via email to