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 sendMail().

Configure Twitter Notification

For details on configuring Twitter notification, please visit configure Twitter.

Posting Twitter Message

You may also try to send notification to your twitter account (beta feature):

Print/export
QR Code
QR Code java_mail_setup (generated for current page)