===== JavaMail & Twitter Setup===== You can send email or post twitter message from mScript when model executes to send alert or notification. Before you can use either of the notification mechanisms, you must configure them appropriately. === Configure Email Notification === //TestOptimal// uses //javaMail// to send emails. Before you can use //javaMail//, you must configure it in //www/MbtSvr/config/config.properties//. Add or edit the following line: javaMailHost=emailHost name Replace //emailHost name// with the host name of your smpt mail gateway. == Sending Email == Once //javaMail// is configured, you can send email by calling mscript function {{http://testoptimal.com/javaDoc/reference/com/webmbt/plugin/MbtScriptExecutor.html#sendMail%28java.lang.String,%20java.lang.String,%20java.lang.String%29 | sendMail()}}.