The second issue is very simple - just insert @T"date format" macro-variable into the subject or message text. For available macro-variables and date/time formats please see @Macro-variables topic in the on-line help. The first issue is more complicated - 24x7 does not currently provide support for BCC in order to simplify email operations. It supports multiple recipients in the TO property. If you really want BCC you need to develop your own email function and use it instead of built-in MailSend command. If you are running Windows 2000 or later you can use CDONTS objects for this purpose. Here is an example of VBScript job. Dim myMail Set myMail = CreateObject("CDONTS.NewMail") myMail.BodyFormat = 1 myMail.MailFormat = 1 myMail.From = " My Name" myMail.To = "recipient@mycompany.com" myMail.Bcc = "bcc_recipient@mycompany.com" myMail.Subject = "Test" myMail.Body = "Test" myMail.Send Set myMail = Nothing : How can I do the following: 1- I would like the receipts to be Blind Copied : bcc: .....so they cannot see all the other people in the listing. : The default script assumes the receipt as the TO: field. : 2- I would like to place a Date function in either the subject line or body : text of the email which references : the current date or previous month : example ( Subject line: "AMS Business Unit Scorecard June 2003" ) : How can I do this?
|