'Auto-Submitted: auto-send' - this suppress a) OoO replies, b) forwarding of emails.
* *sendMailGrId* - Will be copied to the mailLog record. Helps to setup specific logfile queries.
* *sendMailXId* - Will be copied to the mailLog record. Helps to setup specific logfile queries.
* *sendMailXId2* - Will be copied to the mailLog record. Helps to setup specific logfile queries.
* *sendMailXId3* - Will be copied to the mailLog record. Helps to setup specific logfile queries.
* To use values of the submitted form, use the STORE_FORM. E.g. `{{name:F:allbut}}`
* To use the `id` of a new created or already existing one, use the STORE_RECORD. E.g. `{{id:R}}`
...
...
@@ -5197,7 +5199,7 @@ Easily create Email links.
Column: _sendmail
^^^^^^^^^^^^^^^^^
<TO:email[,email]>|<FROM:email>|<subject>|<body>|[<REPLY-TO:email>]|[<flag autosubmit: on /off>]|[<grid>]|[xId]|<CC:email[,email]>|<BCC:email[,email]>
t:<TO:email[,email]>|f:<FROM:email>|s:<subject>|b:<body>|[F:<REPLY-TO:email>]|[a:<flag autosubmit: on /off>]|[g:<grid>]|[x:xId]|[c:<CC:email[,email]]>|[B:<BCC:email[,email]]|[y:xId2]|[z:xId3]>
Send text emails. Every mail will be logged in the table `mailLog`.
...
...
@@ -5206,32 +5208,37 @@ Send text emails. Every mail will be logged in the table `mailLog`.
::
SELECT "john@doe.com|jane@doe.com|Reminder tomorrow|Please dont miss the meeting tomorrow" AS _sendmail
SELECT "t:john@doe.com|f:jane@doe.com|s:Reminder tomorrow|b:Please dont miss the meeting tomorrow" AS _sendmail
SELECT "t:john@doe.com|f:jane@doe.com|s:Reminder tomorrow|b:Please dont miss the meeting tomorrow|a:off|g:1|x:2|y:3|z:4" AS _sendmail
thrownewSyntaxReportException("Too few parameter for sendmail: $columnValue",ERROR_TOO_FEW_PARAMETER_FOR_SENDMAIL,null,__FILE__,__LINE__,$this->fr_error);
}
...
...
@@ -775,6 +776,18 @@ class Report {
$mailarr[SENDMAIL_IDX_RECEIVER_BCC]='';
}
if(!isset($mailarr[SENDMAIL_IDX_X_ID])){
$mailarr[SENDMAIL_IDX_X_ID]='0';
}
if(!isset($mailarr[SENDMAIL_IDX_X_ID2])){
$mailarr[SENDMAIL_IDX_X_ID]='0';
}
if(!isset($mailarr[SENDMAIL_IDX_X_ID3])){
$mailarr[SENDMAIL_IDX_X_ID]='0';
}
$mailarr[SENDMAIL_IDX_SRC]="Report: T3 pageId=".$this->store->getVar('pageId',STORE_TYPO3).
", T3 ttcontentId=".$this->store->getVar('ttcontentUid',STORE_TYPO3).