On Tue, Mar 19, 2002 at 10:35:30AM -0500, Michael P. Soulier wrote:

>     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?

This is how I would do it:

    while read address
    do
        mutt -s 'subject' $address < message_file
    done < address_file

HTH,
Gary

-- 
Gary Johnson                               | Agilent Technologies
[EMAIL PROTECTED]                   | Spokane, Washington, USA
http://www.spocom.com/users/gjohnson/mutt/ |

Reply via email to