This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
en:create:functions:mailresume [20.12.2014 18:03] – alexander.ritter | en:create:functions:mailresume [11.04.2018 09:04] – admin | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== mailResume() ====== | ====== mailResume() ====== | ||
- | '' | + | '' |
This function sends an email during the current questionnaire with a link in order to resume the questionnaire at a later point in time. This is particularly useful when combined with a specific break in multi-wave surveys ('' | This function sends an email during the current questionnaire with a link in order to resume the questionnaire at a later point in time. This is particularly useful when combined with a specific break in multi-wave surveys ('' | ||
Line 10: | Line 10: | ||
* // | * // | ||
* //time//\\ Either the delay in email delivery (in seconds: maximum 153900000) __or__ a Unix timestamp, which defines the time until the next email is sent. | * //time//\\ Either the delay in email delivery (in seconds: maximum 153900000) __or__ a Unix timestamp, which defines the time until the next email is sent. | ||
- | * //C1// to //C3// (optional)\\ If you enter text here (optional), you can use this in the mailing with the help of placeholders '' | + | * //C1// to //C5// (optional)\\ If you enter text here (optional), you can use this in the mailing with the help of placeholders '' |
===== Tips ===== | ===== Tips ===== | ||
Line 59: | Line 59: | ||
// Save the time | // Save the time | ||
$timeBreak1 = time(); | $timeBreak1 = time(); | ||
- | registerVariable('timeBreak1'); | + | registerVariable($timeBreak1); |
// Prepare email | // Prepare email | ||
// Send ID 2 mailing in exactly 14 days | // Send ID 2 mailing in exactly 14 days |