Use
the WARNINGAGE statement to specify the number of days after which
a copy of the mail is returned to the sender with a warning. The warning
is included in the header in the copy of the mail. It includes the
following information:
- SMTP has been unable to deliver the mail thus far
- How many days the mail has been undeliverable
- How many days that SMTP continues to try to deliver the mail (derived
from the RETRYAGE statement)
Syntax
.-WARNINGAGE 3------.
>>-+-------------------+---------------------------------------><
'-WARNINGAGE --days-'
Parameters
- days
- A number from 0 - 365 specifying the number of days to attempt
delivery of the mail before sending a nondelivery warning to the sender.
The default is 3 (same as the default for the RETRYAGE statement).
Examples
Use the following code to warn
the sender that mail has been undeliverable for one day, but that
SMTP continues to attempt delivery for another two days, code the
following:
RETRYAGE 3
WARNINGAGE 1
Usage notes
SMTP only sends a warning if
the number of days specified on the WARNINGAGE statement is less than
the number of days specified on the RETRYAGE statement. When the number
of days specified by the WARNINGAGE statement is greater than or equal
to the number of days specified on the RETRYAGE statement, no warning
is issued to the sender.