How can I send a mail to everyone via dagent?

Hi

I want to pipe a mail into dagent and deliver it to everyone - like this:

cat "msg.txt" | kopano-dagent <USER>

I know that I work for normal users, but did it work also for “everyone”? Sure, I can try it - but I don’t want to annoy 500 User with my experiments.

thanks
Mathias

Okay, I tried it - but as expected, it didn’t work. It seems there is no way to do it with dagent.

But maybe someone knows how to do it with python. So if the message is in a postbox, how can I send the message as new mail to everyone or to a given recipient?? Btw. the subject has to be changed as well.

The reason for all of this, is that I want to send some reminder in a regular manner with a cron job.

thanks
Mathias