Hi,
Basically, I had two questions, since I am integrating my MTA server with adobe, upon delivery I need to trace back the stats back to adobe for reporting.
1. With resp to failure reasons, like mail box full, not connected, refused, unreachable, what table should I refer to insert the values? Would it be directly 'nmsdeliverylogstats'? Any other tables I need to take care?
Because the delivery success / failures I am inserting in 'nmsbroadlogrcp' table and they auto populate in 'nmsdeliverylogstats'.
2. Is it possible to import / create work-flow in a way to insert the entries in above 2-3 tables at the same time? Currently, my work-flow just inserts entries into 'nmsbroadlogrcp'. Any reference for example?
Solved! Go to Solution.
Views
Replies
Total Likes
Hi @rohanpat ,
You need to update the failure reasons in the nms:broadLogMsg schema, linked to the nms:broadLogRcp schema with msg-id field. Below screenshot should help.
For your second question, the answer is yes. How exactly are you receiving the response from the custom MTA? API, files, or something else. Based on that you can build a mechanism to update all tables with proper linked items.
Cheers.
Hi @rohanpat ,
You need to update the failure reasons in the nms:broadLogMsg schema, linked to the nms:broadLogRcp schema with msg-id field. Below screenshot should help.
For your second question, the answer is yes. How exactly are you receiving the response from the custom MTA? API, files, or something else. Based on that you can build a mechanism to update all tables with proper linked items.
Cheers.
Views
Replies
Total Likes
Views
Replies
Total Likes
Hi @rohanpat,
If you are able to insert records into the nms:broadLogRcp and nms:broadLogMsg schemas correctly, then the last thing you need to do is execute the RecomputeStats method of the nms:delivery schema.
Specifically for updating the error stats, below is the syntax
nms.delivery.RecomputeStats(73061911,2); // first parameter is the delivery Id, second parameter is the integer (enum) value for the type of stats to update.
Details on this page: https://docs.adobe.com/content/help/en/campaign-classic/technicalresources/api/sm-delivery-Recompute...
For updating both tables in one workflow, you need to first insert records with relevant fields in the nms:broadLogMsg schema first, and then using the primary key returned in the targetSchema from this step, insert records into the nms:broadLogRcp schema with the remaining relevant fields. See the flow below. This might help.
Cheers,
Ishan
Views
Replies
Total Likes
Views
Replies
Total Likes
Hi @rohanpat,
nms:broadLogMsg table is used to store further information related to delivery send-outs. By default it does not contain much information about success deliveries, since the @status column in nms:broadLogRcp table tells us that the message was successfully sent. It does contain further information about the error deliveries. If you see carefully, these two tables are linked on the @msgId field (primary key of nms:broadLogMsg). There can be multiple messages which failed but due to same reason (mailbox full, invalid domain, etc.). Only one entry in this table can be linked to multiple records in the nms:broadLogRcp table to tell us more about the reason of failure.
In your case, you can use this table to store more information about failure (or even successful) deliveries. The choice is yours.
However, the table nms:address only contains information about email addresses which are either quarantined or blacklisted due to x,y,z reason. This table is checked by the typology rules to filter out any recipients from the delivery target which are either quarantined or blacklisted. This table does not contain any delivery level information per recipient. Moreover, entries into this table would also be made automatically based on the error qualification for a particular email address in the nms:broadLogMsg table (not 100% sure though).
Delivery success or failure stats are calculated by the RecomputeStats method run on every delivery automatically at one or several points in time. But if you want your custom MTA feedback to reflect correctly you need to execute this method on your own (not sure if the automatic job that recomputes these stats for every delivery will take your MTA feedback into consideration, better be safe and do it yourself).
Let me know in case of further doubts, will try my best.
Thanks,
Ishan
Views
Replies
Total Likes
Hi @rohanpat ,
For the first question, the failure reasons will save automatically into Non Deliverable management (Location as Adminstration -- Campaign Management -- non deliverables and addresses).
You can find all the results here and hope it helps you.
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies