|
1 | 1 | [%# delivery_status_notification.tt2 ~%]
|
2 | 2 | Content-Type: multipart/report; report-type=delivery-status;
|
3 | 3 | boundary="[% boundary %]"
|
4 |
| -[% IF action == "delivered" -%] |
| 4 | +[% IF action == "delivered" && status != '2.3.0' -%] |
5 | 5 | Subject: [%"Message was successfully delivered"|loc|qencode%]
|
| 6 | +[% ELSIF status == '2.3.0' || status == '4.3.0' -%] |
| 7 | +Subject: [%"Message distribution: Forwarded"|loc|qencode%] |
6 | 8 | [% ELSIF status == '4.2.1' -%]
|
7 | 9 | Subject: [%"List could not be created"|loc|qencode%]
|
8 | 10 | [% ELSIF status == '4.2.4' -%]
|
@@ -37,11 +39,14 @@ Content-Disposition: inline
|
37 | 39 | Content-Description: Notification
|
38 | 40 |
|
39 | 41 | [%|loc%]This is an automatic response sent by Sympa Mailing Lists Manager.[%END%]
|
40 |
| -[% IF action == "delivered" -%] |
| 42 | +[% IF action == "delivered" && status != '2.3.0' -%] |
41 | 43 | [%|loc%]Message was successfully delivered to following address:[%END%]
|
42 | 44 |
|
43 | 45 | [% recipient %]
|
44 | 46 |
|
| 47 | +[% ELSIF status == '2.3.0' || status == '4.3.0' -%] |
| 48 | +[%|loc(listname)%]Your message to the list '%1' has been forwarded to the moderator(s)[%END%] |
| 49 | + |
45 | 50 | [% ELSE -%]
|
46 | 51 | [%|loc(recipient)%]Impossible to distribute your message for list '%1' for the following reason:[%END%]
|
47 | 52 |
|
@@ -144,7 +149,9 @@ Diagnostic-Code: X-Sympa; [% diagnostic_code %]
|
144 | 149 |
|
145 | 150 | --[% boundary %]
|
146 | 151 | [%# Attach only header part of potentially unsafe contents. ~%]
|
147 |
| -[% IF status == '5.1.1' || status == '5.1.2' |
| 152 | +[%# 2.3.0 and 4.3.0 are successful stata and don't need copy of content. ~%] |
| 153 | +[% IF status == '2.3.0' || status == '4.3.0' |
| 154 | + || status == '5.1.1' || status == '5.1.2' |
148 | 155 | || status == '5.2.3' || status == '5.7.0' -%]
|
149 | 156 | Content-Type: text/rfc822-headers
|
150 | 157 | Content-Disposition: inline
|
|
0 commit comments