Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
en:create:functions:mailsend [13.04.2015 18:01] – [Tips] alexander.ritteren:create:functions:mailsend [19.04.2015 11:11] – [mailSend()] alexander.ritter
Line 1: Line 1:
 ====== mailSend() ====== ====== mailSend() ======
  
-''void **mailSend**(string //email//, int //mailingID//, [int //time//], [string //Link//], [string //C1//, string //C2//, string //C3//, string //C4//, string //C5//])''+''void **mailSend**(string //email//, int //mailingID//, [int //time//], [string //link//], [string //C1//, string //C2//, string //C3//, string //C4//, string //C5//])''
  
-The ''mailSend()'' function sends the mailing with the //mailingID// ID to a specified email address straightaway or at a defined point in time. The email address does not have to -- in contrast to the ''[[:en:create:functions:mailResume]]'' and ''[[:en:create:functions:mailSchedule]]'' functions -- be known in the project's address list.+The ''mailSend()'' function sends the mailing with the //mailingID// ID to a specified email address straightaway or at a defined point in time. The email address does not have to -- in contrast to the ''[[:en:create:functions:mailResume]]'' and ''[[:en:create:functions:mailSchedule]]'' functions -- be known in the project's address list beforehand.
  
  
Line 9: Line 9:
   * //mailingID//\\ Numerical ID of the mailing to be sent    * //mailingID//\\ Numerical ID of the mailing to be sent 
   * //time// (optional)\\ Either the delay until the mailing is sent (in seconds, maximum 153900000) __or__ a Unix timestamp that defines the time when it should next be sent.    * //time// (optional)\\ Either the delay until the mailing is sent (in seconds, maximum 153900000) __or__ a Unix timestamp that defines the time when it should next be sent. 
-  * //Link// (optional)\\ URL used for the ''%link%'' placeholder in the mailing. If no URL is specified,  the [[:en:survey:url]] is used without further specification of a questionnaire.+  * //link// (optional)\\ URL used for the ''%link%'' placeholder in the mailing. If no URL is specified,  the [[:en:survey:url]] is used without further specification of a questionnaire.
   * //C1// to //C5// (optional)\\ If you have specified text here (optional), you can use this text in the mailing with the help of placeholders ''%custom1%'' to ''%custom5%''. When used with ''value()'', you can, for example, display responses from the ongoing interview in the email.   * //C1// to //C5// (optional)\\ If you have specified text here (optional), you can use this text in the mailing with the help of placeholders ''%custom1%'' to ''%custom5%''. When used with ''value()'', you can, for example, display responses from the ongoing interview in the email.
      
en/create/functions/mailsend.txt · Last modified: 07.09.2022 21:00 by admin
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
Driven by DokuWiki