Skip Navigation

Tracking the life cycle of delivery tasks

Using the 
NDS
 2.8.5 database logging feature, 
OPM
 2.2 tracks task life cycle in the ngdeliverylog database. This feature provide valuable troubleshooting and reporting information.
OPM
 tracks following life cycle task states in the SMTP session.
Code
Description
Notes
210
Send Started
220
Send Completed
An email message was sent successfully and acknowledged at the TCP level.
230
Send Confirmed
The SMTP server sent back an acknowledgment - SMTP 250
270
Acknowledged User Input
For example, user response might be “1”.
271
Acknowledged without response code
An additional info field shows the first line in the email received by the user.
290
Send failed, will retry
Detailed error message (SMTP state, error code, etc.)
291
Send failed
Detailed error message (SMTP state, error code, etc.). This value identifies a failure after three failed attempts to send the email.
To configure life cycle tracking, update the 
OPM
 plug-in:
Under the <
queueControlInfo
> section, a new set of configuration keys are introduced to control the life cycle logging feature (default values are shown):
<!--turn on/off task life cycle logging--> <logTaskLifeCycle>true</logTaskLifeCycle> <!--interval in second to purge log records in memory to batch and save to database, Default: 1--> <logPurgeInterval>1</logPurgeInterval> <!--batch size in number of records to purge each time and save to database. Default: 2000, Max: 2000 --> <logPurgeBatchSize>2000</logPurgeBatchSize>