To set up grid e-mail notification via the command line

At the command line, type

managegrid setnotify true smtpHostName emailAddresses smtpFromField subjectLinePrefix

where true turns the e-mail notification on, smtpHostName is the name of your SMTP server, emailAddresses is a list of the e-mail addresses of those who need to receive notifications, smtpFromField is an e-mail address to be used as the "from" address, such as grid-notify@hostname, and subjectLinePrefix is a prefix to appear at the beginning of the subject line for the grid notifications.