Wiki source code of Double-Opt-In-E-Mail versenden


Show last authors
1 {{figure image="doi_email_en.png" width="400" clear="h1"}}
2 Configuration interface of the action //Send double opt-in email//
3 {{/figure}}
4
5 Actions of type //Send double opt-in email// start the double opt-in process. After submitting the form, the data is locked in the system and the user receives an email. This email contains a confirmation link. Only after the user has clicked on this confirmation link, the data record is released for the workflow. You can use the [[Doube-Opt-In event>>Formcycle.Designer.Workflow.Events.DoubleOptInConfirmed]] to run a workflow when the user confirms the double opt-in.
6
7 == Parameters ==
8
9 === Email details ===
10
11 ; Email to
12 : Specifies the email recipient. Multiple recipients are separated by a comma. The use of [[variables>>Formcycle.UserInterface.Variables]] is possible.
13 ; Email from
14 : Specification of the sender of the email. The use of [[variables>>Formcycle.UserInterface.Variables]] is possible.
15 ; Sender name
16 : Specification of the name of the sender of the email. The use of [[variables>>Formcycle.UserInterface.Variables]] is possible.
17
18 === Email content ===
19
20 ; E-Mail format
21 : Select in which format the email should be sent. You can choose between HTML (default), Plain Text or HTML and Plain Text. The contents of the respective formats can be defined separately under **Content**.
22 ; Subject
23 : Specifies the subject of the email. The use of [[variables>>Formcycle.UserInterface.Variables]] is possible.
24 ; HTML
25 : Content of the email. The use of [[variables>>Formcycle.UserInterface.Variables]] is possible.
26
27 === Advanced settings ===
28
29 ; Reply page if double opt-in fails (e.g. double opt-in already done).
30 : Selection of a [[HTML-Templates>>Formcycle.UserInterface.FilesAndTemplates.HTML]], which will be displayed in case of a failure of the double-opt-in process.
31
32 == Action variables ==
33
34 Actions of type //Send double opt-in email// provide [[Action variables>>Formcycle.UserInterface.Variables||anchor="HActionvariables"]] which can be used in subsequent actions.
35
36 === Standard action variables ===
37
38 ; [%$<action name>.SUCCESS%]
39 : Return whether action was successfully executed. Returns Boolean (true/false).
40 ; [%$<action name>.RESULT%]
41 : Return all results provided by the action in structured form.
42
43 ; [%$<action name>.ERROR_CODE%]
44 : The error code thrown in case of an error in the action. Empty if no error occurred.
45 ; [%$<action name>.ERROR_MESSAGE%]
46 : The thrown error message in the action's error case. Empty if no error occurred.
47
48 === Action specific action variables ===
49
50 ; [%$<action name>.ERROR.message%]
51 : Error message returned if generating the email was not possible, if the email was not sent, or if a response template could not be determined.