Email and Sound Support

Direct download AIMMS Project E-mail and Sound Support.zip

Note

See also the Email Client Library.

This example illustrates two external DLLs (complete with source) that allow you to - programmatically generate and send email messages from within a model - play sounds from within your model

The email interface makes use of the Simple MAPI API provided by Windows in Mapi32.dll. You can only use it if a MAPI compliant email client (such as Outlook) is installed on your computer.

The sound interface makes use of the Win32 PlaySound function. You can use it, for instance, to play .wav files from within your model upon particular user interaction.

In the respective source directories you will find the C source files of both interfaces to AIMMS, as well as the Visual Studio 2010 projects that were used to build the DLLs providing the interfaces.

If you need email and/or sound support in your AIMMS application you can simply import one or both interface section contained in the directory ‘Import Sections’ into your own AIMMS model.

If your needs go beyond the provided interface, you can modify and re-compile the provided source code to suit your own needs.

Keywords: email, Sound, External procedure