var Mail = Application ( "Mail" ) ; var sendMsg = Mail . OutgoingMessage ( { subject : "test mail" , content : "テストメールです" , visible : true } ) ; Mail . outgoingMessages . push ( sendMsg ) ; var rec = Mail . ToRecipient ( { address : "openspc@alpha.ocn.ne.jp" } ) ; sendMsg . toRecipients . push ( rec ) ;