Summary

This is a standard format example of a basic email trigger script.  


Standard Format Templates


Example 2

It starts and ends with the “script” tag. Within the script is the “body” tag. Within the “body” is normally the evaluation of the target question followed by the email command that is made up of the “to”, “from”, “subject” and “body” parameters.

Script

<script scriptId="example">
    <body>
        <s:if>
            <!-- This is where the criteria that must evaluate to true would be entered. -->
                <s:email>
                    <s:to>
                        <!-- This is where the destination addresses of the email is set up. -->
                        </s:to>
                        <s:from>
                            <!-- This is where the address of the sender is set up. -->
                            </s:from>
                            <s:subject>
                                <!-- This is where the subject line of the email is created. -->
                                </s:subject>
                                <s:body>
                                    <!-- This is where a message in the body of the email can be entered. -->
                                    </s:body>
                                </s:email>
                            </s:if>
                        </body>
                        <target typeId="test" action="update" when="after"/>
                    </script>



Need more help?

Please visit the Fountayn Contact Information page.