MailTrigger

From GeoMedia Smart Client
Jump to: navigation, search
Settings WorkflowSetting FormSetting CommonSetting






With this trigger you are able to send an email.

Parameters

Name Value Mandatory Description
 <name="From">
Supported types:
  • Placeholder:
 <value="{FORM.From}">
  • 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:
  • Placeholder:
 <value="{FORM.Recipients}">


  • static value
yes With the parameter Recipients you are able to set the mail receivers.
 <name="Subject">
Supported types:
  • Placeholder:
 <value="{FORM.Subject}">


  • SQL statement
  • static value
yes With the parameter Subject you are able to set the mail subject.
 <name="Body">
Supported types:
  • Placeholder:
 <value="{FORM.Body}">


  • SQL statement
  • static value
yes With the parameter Body you are able to set the body of the mail.
 <name="IsBodyHtml">

GMSC 2014

Supported types:
  • Placeholder:
 <value="{FORM.IsBodyHtml}">


  • 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.



  1. <WorkflowTrigger name="MailTrigger" type="MailTrigger" method="action">
  2.         <Param name="From" value="{FORM.From}" />
  3.         <Param name="Recipients" value="{FORM.Recipients}" />
  4.         <Param name="Subject" value="{FORM.Subject}" />
  5.         <Param name="Body" value="{FORM.Body}" />
  6. </WorkflowTrigger>



Pfeil new.png To the top Pfeil new.png

Configuration of the Web.config

  1.  <system.net>
  2.     <mailSettings>
  3.       <smtp from="noreply@company.com">
  4.         <network host="mailserver.company.com" port="25"/>
  5.       </smtp>
  6.    </mailSettings>
  7.  </system.net>



Language: English