Both sides previous revisionPrevious revision | Next revisionBoth sides next revision |
en:create:functions:mailschedule [12.12.2014 08:21] – alexander.ritter | en:create:functions:mailschedule [12.09.2015 14:26] – [mailSchedule()] admin |
---|
''void **mailSchedule**(string //personID//, int //mailing//, int //time//)'' | ''void **mailSchedule**(string //personID//, int //mailing//, int //time//)'' |
| |
Thus function prepares the sending of a mailing directly in the questionnaire -- for example, the invitation to the second questionnaire. In contrast to ''[[:en:create:functions:mailresume|mailResume()]]'', the current interview will not be resumed. Instead, the mailing is sent in the same way as if it had been prepared manually. | This function prepares the sending of a mailing directly in the questionnaire -- for example, the invitation to the second questionnaire. In contrast to ''[[:en:create:functions:mailresume|mailResume()]]'', the current interview will not be resumed. Instead, the mailing is sent in the same way as if it had been prepared manually. |
| |
**Note:** The email will only be sent if the participant is already registered in the mailing list. | **Note:** The email will only be sent if the participant is already registered in the mailing list. |
| |
* //personID//\\ The personal ID of the addressee who should receive the email. If the participant began the questionnaire after receiving an invitation via mailing, you can enter ''false'' and then a suitable ID will be automatically generated. Alternatively, the personal ID can be determined using ''[[:en:create:functions:caseserial|caseSerial()]]''. | * //personID//\\ The personal ID of the addressee who should receive the email. If the participant began the questionnaire after receiving an invitation via mailing, you can enter ''false'' and then a suitable ID will be automatically generated. Alternatively, the personal ID can be determined using ''[[:en:create:functions:caseserial|caseSerial()]]''. |
* //mailing//\\ (Numerical) ID of the mailing which should be sent to the participant. In the tab //Reminder/Follow-up Email// for the mailing, the value must be configured to "Reminder or Continuation" as the //Type of Follow-up Email//. Please take the notes below into consideration. | * //mailing//\\ (Numerical) ID of the mailing which should be sent to the participant. |
* //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. |
| |