Re: question on batch email sending



David Banning wrote:
I have a standard mailbox with around 40 messages. I want to be able
to just send them all to someone, the same person, not as an
attachment but as individual emails. I want to do something like;

cat /var/mail/frank | someprogram franksnewaddress@xxxxxxxxxxxxxxxx

So that Frank can just get it into his regular inbox. I realize that
I could just ask Frank to pop it off the server but then he would have
to setup for just one occasion. Is there a way to do what I want?

Take a look at formail, which comes as part of procmail. It lets you
iterate through messages in an mbox-formatted mailbox in various ways.

In fact, here's a thread about it:
http://www.mhonarc.org/archive/html/procmail/2002-06/msg00019.html

Have fun!

Howie
_______________________________________________
freebsd-questions@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: question on batch email sending
    ... On Thursday 30 November 2006 11:05, David Banning wrote: ... attachment but as individual emails. ... So that Frank can just get it into his regular inbox. ... If you are using sendmail you might just alias the mailbox to the user. ...
    (freebsd-questions)
  • Re: question on batch email sending
    ... attachment but as individual emails. ... cat /var/mail/frank | someprogram franksnewaddress@xxxxxxxxxxxxxxxx ... So that Frank can just get it into his regular inbox. ... tagging them att and then 'bouncing' ...
    (freebsd-questions)
  • Re: question on batch email sending
    ... attachment but as individual emails. ... cat /var/mail/frank | someprogram franksnewaddress@xxxxxxxxxxxxxxxx ... So that Frank can just get it into his regular inbox. ... Collaborative Fusion Inc. ...
    (freebsd-questions)