Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
qfq
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
typo3
qfq
Commits
66eec0a7
Commit
66eec0a7
authored
7 years ago
by
Elias Villiger
Committed by
bbaer
7 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Feature #5318 - sendmail tokens: adjust documentation and fix some typos.
parent
6f851065
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
extension/Documentation/Manual.rst
+57
-45
57 additions, 45 deletions
extension/Documentation/Manual.rst
with
57 additions
and
45 deletions
extension/Documentation/Manual.rst
+
57
−
45
View file @
66eec0a7
...
...
@@ -5510,7 +5510,7 @@ Column: _sendmail
[|
e
:<
subject
encode
:
encode
/
decode
/
none
>][
E
:<
body
encode
:
encode
/
decode
/
none
>]
[|
C
][
d
:<
filename
of
the
attachment
>][|
F
:<
file
to
attach
>][|
u
:<
url
>][|
p
:<
T3
uri
>]
The
following
parameters
can
also
be
written
out
for
ease
of
use
:
The
following
parameters
can
also
be
written
as
complete
words
for
ease
of
use
:
::
...
...
@@ -5529,50 +5529,62 @@ Send emails. Every mail will be logged in the table `mailLog`. Attachments are s
..
+
----------
+
----------------------------------------
+
--------------------------------------------------------------------------------------------------
+
------------
+
|**
Token
**
|
**
Parameter
**
|**
Description
**
|**
Required
**|
+==========+========================================+==================================================================================================+============+
|
f
|
email
|**
FROM
**:
Sender
of
the
email
.
Optional
:
'
realname
<
john
@doe
.
com
>'
|
yes
|
+
----------
+
----------------------------------------
+
--------------------------------------------------------------------------------------------------
+
------------
+
|
t
|
email
[,
email
]
|**
TO
**
:
Comma
separated
list
of
receiver
email
addresses
.
Optional
:
`
realname
<
john
@
doe
.
com
>`
|
yes
|
+
----------
+
----------------------------------------
+
--------------------------------------------------------------------------------------------------
+
------------
+
|
c
|
email
[,
email
]
|**
CC
**
:
Comma
separated
list
of
receiver
email
addresses
.
Optional
:
'
realname
<
john
@
doe
.
com
>
' | |
+----------+----------------------------------------+--------------------------------------------------------------------------------------------------+------------+
| B | email[,email] |**BCC**: Comma separated list of receiver email addresses. Optional: '
realname
<
john
@
doe
.
com
>
' | |
+----------+----------------------------------------+--------------------------------------------------------------------------------------------------+------------+
| r | REPLY-TO:email |**Reply-to**: Email address to reply to (if different from sender) | |
+----------+----------------------------------------+--------------------------------------------------------------------------------------------------+------------+
| s | Subject |**Subject**: Subject of the email | yes |
+----------+----------------------------------------+--------------------------------------------------------------------------------------------------+------------+
| b | Body |**Body**: Message - see also: `html-formatting`_ | yes |
+----------+----------------------------------------+--------------------------------------------------------------------------------------------------+------------+
| h | Mail header |**Custom mail header**: Separate multiple header with \\r\\n | |
+----------+----------------------------------------+--------------------------------------------------------------------------------------------------+------------+
| F | Attach file |**Attachment**: File to attach to the mail. Repeatable. | |
+----------+----------------------------------------+--------------------------------------------------------------------------------------------------+------------+
| u | Attach created PDF of a given URL |**Attachment**: Convert the given URL to a PDF and attach it the mail. Repeatable. | |
+----------+----------------------------------------+--------------------------------------------------------------------------------------------------+------------+
| p | Attach created PDF of a given T3 URL |**Attachment**: Convert the given URL to a PDF and attach it the mail. Repeatable. | |
+----------+----------------------------------------+--------------------------------------------------------------------------------------------------+------------+
| d | Filename of the attachment |**Attachment**: Useful for URL to PDF converted attachments. Repeatable. | |
+----------+----------------------------------------+--------------------------------------------------------------------------------------------------+------------+
| C | Concat multiple F|p|u| together |**Attachment**: All following (until the next '
C
') '
F
|
p
|
u
' concatenated to one attachment. | |
| | | Repeatable. | |
+----------+----------------------------------------+--------------------------------------------------------------------------------------------------+------------+
| A | flagAutoSubmit '
on
' / '
off
' |If '
on
' (default), add mail header '
Auto-Submitted
:
auto-send
' - suppress OoO replies | |
+----------+----------------------------------------+--------------------------------------------------------------------------------------------------+------------+
| g | grId |Will be copied to the mailLog record. Helps to setup specific logfile queries | |
+----------+----------------------------------------+--------------------------------------------------------------------------------------------------+------------+
| x | xId |Will be copied to the mailLog record. Helps to setup specific logfile queries | |
+----------+----------------------------------------+--------------------------------------------------------------------------------------------------+------------+
| y | xId2 |Will be copied to the mailLog record. Helps to setup specific logfile queries | |
+----------+----------------------------------------+--------------------------------------------------------------------------------------------------+------------+
| z | xId3 |Will be copied to the mailLog record. Helps to setup specific logfile queries | |
+----------+----------------------------------------+--------------------------------------------------------------------------------------------------+------------+
| e | encode|decode|none |**Subject**: will be htmlspecialchar() encoded, decoded (default) or none (untouched) | |
+----------+----------------------------------------+--------------------------------------------------------------------------------------------------+------------+
| E | encode|decode|none |**Body**: will be htmlspecialchar() encoded, decoded (default) or none (untouched). | |
+----------+----------------------------------------+--------------------------------------------------------------------------------------------------+------------+
+
------------
+
----------------------------------------
+
--------------------------------------------------------------------------------------------------
+
------------
+
|**
Token
**
|
**
Parameter
**
|**
Description
**
|**
Required
**|
+============+========================================+==================================================================================================+============+
|
f
|
email
|**
FROM
**:
Sender
of
the
email
.
Optional
:
'
realname
<
john
@doe
.
com
>'
|
yes
|
|
from
|
|
|
yes
|
+
------------
+
----------------------------------------
+
--------------------------------------------------------------------------------------------------
+
------------
+
|
t
|
email
[,
email
]
|**
TO
**
:
Comma
separated
list
of
receiver
email
addresses
.
Optional
:
`
realname
<
john
@
doe
.
com
>`
|
yes
|
|
to
|
|
|
yes
|
+
------------
+
----------------------------------------
+
--------------------------------------------------------------------------------------------------
+
------------
+
|
c
|
email
[,
email
]
|**
CC
**
:
Comma
separated
list
of
receiver
email
addresses
.
Optional
:
'
realname
<
john
@
doe
.
com
>
' | |
| cc | | | yes |
+------------+----------------------------------------+--------------------------------------------------------------------------------------------------+------------+
| B | email[,email] |**BCC**: Comma separated list of receiver email addresses. Optional: '
realname
<
john
@
doe
.
com
>
' | |
| bcc | | | yes |
+------------+----------------------------------------+--------------------------------------------------------------------------------------------------+------------+
| r | REPLY-TO:email |**Reply-to**: Email address to reply to (if different from sender) | |
| reply-to | | | yes |
+------------+----------------------------------------+--------------------------------------------------------------------------------------------------+------------+
| s | Subject |**Subject**: Subject of the email | yes |
| subject | | | yes |
+------------+----------------------------------------+--------------------------------------------------------------------------------------------------+------------+
| b | Body |**Body**: Message - see also: `html-formatting`_ | yes |
| body | | | yes |
+------------+----------------------------------------+--------------------------------------------------------------------------------------------------+------------+
| h | Mail header |**Custom mail header**: Separate multiple header with \\r\\n | |
+------------+----------------------------------------+--------------------------------------------------------------------------------------------------+------------+
| F | Attach file |**Attachment**: File to attach to the mail. Repeatable. | |
+------------+----------------------------------------+--------------------------------------------------------------------------------------------------+------------+
| u | Attach created PDF of a given URL |**Attachment**: Convert the given URL to a PDF and attach it the mail. Repeatable. | |
+------------+----------------------------------------+--------------------------------------------------------------------------------------------------+------------+
| p | Attach created PDF of a given T3 URL |**Attachment**: Convert the given URL to a PDF and attach it the mail. Repeatable. | |
+------------+----------------------------------------+--------------------------------------------------------------------------------------------------+------------+
| d | Filename of the attachment |**Attachment**: Useful for URL to PDF converted attachments. Repeatable. | |
+------------+----------------------------------------+--------------------------------------------------------------------------------------------------+------------+
| C | Concat multiple F|p|u| together |**Attachment**: All following (until the next '
C
') '
F
|
p
|
u
' concatenated to one attachment. | |
| | | Repeatable. | |
+------------+----------------------------------------+--------------------------------------------------------------------------------------------------+------------+
| A | flagAutoSubmit '
on
' / '
off
' |If '
on
' (default), add mail header '
Auto-Submitted
:
auto-send
' - suppress OoO replies | |
| autosubmit | | | yes |
+------------+----------------------------------------+--------------------------------------------------------------------------------------------------+------------+
| g | grId |Will be copied to the mailLog record. Helps to setup specific logfile queries | |
| grid | | | yes |
+------------+----------------------------------------+--------------------------------------------------------------------------------------------------+------------+
| x | xId |Will be copied to the mailLog record. Helps to setup specific logfile queries | |
| xid | | | yes |
+------------+----------------------------------------+--------------------------------------------------------------------------------------------------+------------+
| y | xId2 |Will be copied to the mailLog record. Helps to setup specific logfile queries | |
| xid2 | | | yes |
+------------+----------------------------------------+--------------------------------------------------------------------------------------------------+------------+
| z | xId3 |Will be copied to the mailLog record. Helps to setup specific logfile queries | |
| xid3 | | | yes |
+------------+----------------------------------------+--------------------------------------------------------------------------------------------------+------------+
| e | encode|decode|none |**Subject**: will be htmlspecialchar() encoded, decoded (default) or none (untouched) | |
+------------+----------------------------------------+--------------------------------------------------------------------------------------------------+------------+
| E | encode|decode|none |**Body**: will be htmlspecialchar() encoded, decoded (default) or none (untouched). | |
+------------+----------------------------------------+--------------------------------------------------------------------------------------------------+------------+
* **e|E**: By default, QFQ stores values '
htmlspecialchars
()
' encoded. If such values have to send by email, the html entities are
unwanted. Therefore the default setting for '
subject
' und '
body
' is to decode the values via '
htmlspecialchars_decode
()
'
.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment