|
|
Sending Mail to All Users (mailall.exe)
Mailall.exe is a command line utility that sends mail to all users on a particular host or on all hosts on the IMail Server system.
Basic Command Syntax
mailall -h hostname|ALL> -f sender -d [-s Subject] <FullPathToMessageFile>Examples
mailall -h myhost -f admin@myhost -s "Admin note" C:\mailnotes.txtThe above example sends the file mailnotes.txt to all users on myhost. The message is from admin@myhost; the Subject is Admin Note.
Alias1=|mailall -h myname -dThe preceding example creates a program alias that is used to send mail to all users on the myname host. Then, you can send a message to Alias1@myname.com, and it will go to everyone on the myname host.
![]() Ipswitch, Inc. http://www.ipswitch.com |
| ©Ipswitch 2004 | |||