I though you need a script to run 24x7 job. Are you asking for a script for sending emails from 24x7? In case if you want a "send" script and assuming that you store emails in a flat text file with each email appearing on a new line you can use the following job (this is a copy & paste from the example for "FileOpen" topic in 24x7 help file) Dim file_number, number Dim recipient, string Dim end_of_file, boolean // Open recipients file for reading line by line FileOpen( "mail.lst", "LineMode", "Read", "", file_number ) // Read file line by line until the end of file. // Each recipient must be on a separate line EOF( file_number, end_of_file ) LoopUntil( end_of_file, END_LOOP ) FileRead( file_number, recipient ) // Send email MailSend( "Exchange Settings", & "syspassword", & recipient, & "any subject", "any message" ) EOF( file_number, end_of_file ) END_LOOP: // Done with sending message, release file FileClose( file_number ) : Ok I am slow. Where do I look? : Again I will have a list of email addresses, and a message I want 24x7 to : send that message to those users. : Thanks
|