(amd_envelope_date): Use Delivery-Date if X-Envelope-Date is not present.
Showing
1 changed file
with
2 additions
and
1 deletions
... | @@ -1371,7 +1371,8 @@ amd_envelope_date (envelope_t envelope, char *buf, size_t len, | ... | @@ -1371,7 +1371,8 @@ amd_envelope_date (envelope_t envelope, char *buf, size_t len, |
1371 | 1371 | ||
1372 | if ((status = message_get_header (msg, &hdr)) != 0) | 1372 | if ((status = message_get_header (msg, &hdr)) != 0) |
1373 | return status; | 1373 | return status; |
1374 | if (header_aget_value (hdr, MU_HEADER_ENV_DATE, &from)) | 1374 | if (header_aget_value (hdr, MU_HEADER_ENV_DATE, &from) |
1375 | && header_aget_value (hdr, MU_HEADER_DELIVERY_DATE, &from)) | ||
1375 | return ENOSYS; | 1376 | return ENOSYS; |
1376 | 1377 | ||
1377 | /* Format: "sender date" */ | 1378 | /* Format: "sender date" */ | ... | ... |
-
Please register or sign in to post a comment