Configuring scheduled mails

Release 1.3 - ...

Scheduled mails

Smi has the ability to send you mails on a configured interval. This option is available from the "My Favorites" report and only accessible if you are logged in. You can access the feature by clicking on the white envelope. If you are a guest user, you do have the ability to store favorite reports, but you cannot scheduled mails. You'll notice the white envelope is not visible if you are not logged in. Mails are sent to the mail address that is configured in the Smartsite user account.

Configuration

To configure the scheduled mails, perform the following steps:

  1. Open Smartsite.config and make sure an SMTPServerAddress has been configured in the <appSettings> element.
  2. Open SmiServer.exe.config, go to the <from>...</from> element of the site and fill in the email address of the sender. You may manually configure the <subject>, <body> and <htmlbody> element as well but these are optional.
  3. On the Pub server, open the Windows Task Scheduler (Vista and higher) or Windows Scheduled Tasks (Windows 2003) and add a new scheduled task. This scheduled task must request a Smartsite item on a regular interval using SignalSmartsite. The scheduled job properties typically look like these:
Property Value
Run

D:\Sites\MySite\WWW\Bin\SignalSmartsite.exe /render:smartsite.net?id=SMI_SENDSCHEDULEDMAILS /user:myuser /password:mypassword

Start in

D:\Sites\MySite\WWW\Bin

Schedule task

Daily
Start time

9:00

Repeat task

Every 10 minutes

The requested item will check for any scheduled mail that needs to be sent now. You may also open the item in the browser to check if the scheduled mails are working correctly.