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]>
@@ -5317,6 +5327,39 @@ Additional the CEO as well as backup will receive the mail via CC and BCC.
For debugging, please check `REDIRECT_ALL_MAIL_TO`_.
Attachment
''''''''''
The following types are provided:
* Attach a single file: `F:<filename>`. Any filetype is possible.
* Convert a Webpage to a PDF and attach that one: `u:http://www.john-doe.com/a?param1=x&...`.
* Convert a T3 page to a PDF and attach that one: `U:<T3 alias>¶m1=x&...`.
* Optional any combination (incl. repeating) are possible. Any now source will be added as a single attachment.
* Optional any number of sources can be concatenated to a single PDF file: 'C|F:<file1>|F:<file2>|U:export&a=123'.
Only PDF files can be concatenated.
* User definable filename for the attachment: `d:<filename>`.
Examples::
# One file attached
10.sql = SELECT "t:john.doe@example.com|F:company@example.com|s:Latest News|b:The new version is now available.|F:fileadmin/summary.pdf" AS _sendmail
# Two files attached
10.sql = SELECT "t:john.doe@example.com|F:company@example.com|s:Latest News|b:The new version is now available.|F:fileadmin/summary.pdf|F:fileadmin/detail.pdf" AS _sendmail
# Two files and a webpage (converted to PDF) are attached
10.sql = SELECT "t:john.doe@example.com|F:company@example.com|s:Latest News|b:The new version is now available.|F:fileadmin/summary.pdf|F:fileadmin/detail.pdf|U:export&r=123|d:person.pdf" AS _sendmail
# Two webpages (converted to PDF) are attached
10.sql = SELECT "t:john.doe@example.com|F:company@example.com|s:Latest News|b:The new version is now available.|U:export&r=123|d:person123.pdf|U:export&r=234|d:person234.pdf" AS _sendmail
# One file and two webpages (converted to PDF) are *concatenated* to one PDF and attached.
10.sql = SELECT "t:john.doe@example.com|F:company@example.com|s:Latest News|b:The new version is now available.|C|F:fileadmin/summary.pdf|U:export&r=123|U:export&r=234|d:complete.pdf" AS _sendmail