Hey guys,
Quick question; is there a way to broadcast an email to all XMail accounts
on a single server?
I need to inform everyone, about 800 accounts, that I will do hardware
maintenance this week-end.
Thanks
___
xmail mailing list
Hi,
I don't think this is directly supported. You can generate a list of
e-mail addresses from the mailusers file, for example using this command
on linux:
cat mailusers.tab | sed -n 's/^\([^]*\)\t\([^]*\)\t.*$/\2@\1/p'
You could write the output to a file and pass it to sendmail using the
Hi,
Thanks for your reply, here is what I have come up with if someone else is
interested.
#!/usr/local/bin/php
?php
function xmail_accounts_list($tabfile)
{
$accounts = array();
$lines = file($tabfile);
foreach ($lines as $line_num = $line)
{