Mail Trigger

Workflow Manager Developer Guide

HGD_Variant
15.00
HGD_Product
GeoMedia Smart Client
HGD_Portfolio_Suite
Platform

With this trigger you are able to send an email.

Parameters

Name

Value

Mandatory

Description

<name="From">

Supported types:

<value="{FORM.From}">

  • Placeholder:
  • SQL statement
  • OBJECT
  • static value

yes

With the parameter From you are able to set the email adress of the sender.

<name="Recipients">

Supported types:

<value="{FORM.Recipients}">

  • Placeholder:
  • static value

yes

With the parameter Recipients you are able to set the mail receivers.

<name="Subject">

Supported types:

<value="{FORM.Subject}">

  • Placeholder:
  • SQL statement
  • static value

yes

With the parameter Subject you are able to set the mail subject.

<name="Body">

Supported types:

<value="{FORM.Body}">

  • Placeholder:
  • SQL statement
  • static value

yes

With the parameter Body you are able to set the body of the mail.

<name="IsBodyHtml">

light_bulb_icon This functionality was introduced in GeoMedia Smart 2014.

Supported types:

<value="{FORM.IsBodyHtml}">

  • Placeholder:
  • SQL statement
  • static value

no

The parameter IsBodyHtml indicates whether the mail body is in HTML format.

<name="Attachments">

Supported types:

  • Placeholder:

<value="{FORM.Attachments}">

no

With the parameter Attachments you are able to set the attachments of the mail.

<WorkflowTrigger name="MailTrigger" type="MailTrigger" method="action">
        <Param name="From" value="{FORM.From}" />
        <Param name="Recipients" value="{FORM.Recipients}" />
        <Param name="Subject" value="{FORM.Subject}" />
        <Param name="Body" value="{FORM.Body}" />
</WorkflowTrigger>

Configuration of the Web.config

 <system.net>
    <mailSettings>
      <smtp from="noreply@company.com">
        <network host="mailserver.company.com" port="25"/>
      </smtp>
   </mailSettings>
 </system.net>