Sending Mail Using HTML

A process sends an email formatted in HTML and includes embedded images as an attachment.

Before you begin

You must have the account settings for your mail server.

    Procedure
  1. In the samples directory, select palette > mail > HtmlMailWithImage and double-click . For more information, see Accessing Samples.
  2. In the Project Explorer view, expand the project.
  3. Fully expand the Processes directory and double-click Sender.bwp.
  4. Click Run > Debug Configurations.
  5. At the left hand tree of Debug Configuration wizard, expand BusinessWorks Application and select BWApplication.
  6. Click the Applications tab and then click the Deselect All button if you have multiple applications. Select the checkbox next to .
  7. Click Debug.
    This runs the sample in Debug mode.
  8. Click the Terminate icon to stop the process.
Result

Your mail client receives an email showing the attachments, embedded in an HTML formatted message.