Apply suggestions from code review

Co-authored-by: Brennan Kinney <5098581+polarathene@users.noreply.github.com>
This commit is contained in:
Georg Lauterbach 2024-01-10 11:18:16 +01:00 committed by GitHub
parent c78b6d1847
commit fde83cc767
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 6 deletions

View File

@ -110,12 +110,13 @@ function _send_email() {
# No. 2 is especially useful in case you send more than one email in a single # No. 2 is especially useful in case you send more than one email in a single
# test file and need to assert certain log entries for each mail individually. # test file and need to assert certain log entries for each mail individually.
# #
# The first argument has to be the name of the variable that the e-mail ID is stored # The first argument has to be the name of the variable that the e-mail ID is stored in.
# in. The second argument **can** be the flag `--expect-rejection`. If this flag is supplied, # The second argument **can** be the flag `--expect-rejection`.
# the function does not check whether the whole mail delivery transaction was successful and # - If this flag is supplied, the function does not check whether the whole mail delivery
# it will also query the queue ID differently. Be warned though that it must still be possible # transaction was successful. Additionally the queue ID will be retrieved differently.
# to `grep` for the Message-ID that Postfix generated in the mail log; otherwise this function # - CAUTION: It must still be possible to `grep` for the Message-ID that Postfix
# fails. The rest of the arguments are the same as `_send_email`. # generated in the mail log; otherwise this function fails.
# The rest of the arguments are the same as `_send_email`.
# #
# ## Attention # ## Attention
# #