CardBoardFish
You are here: CardBoardFish > SMSConnectionService > SMPPFrequentlyAskedQuestions > WhatIsTheFormatOfSMPPDeliveryReceipts

What is the format of SMPP delivery receipts?

An example delivery receipt might read:

id:IIIIIIIIII sub:SSS dlvrd:DDD submit date:YYMMDDhhmm done 
date:YYMMDDhhmm stat:DDDDDDD err:E Text: . . . . . . . . .

Where:

  • id- the message ID allocated to the message by the server
  • sub- the number of short messages originally submitted
  • dlvrd- the number of short messages delivered
  • submit date- the date and time at which the short message was submitted
  • done date- the date and time at which the short message reached its final state
  • stat- the final status of the message
  • err- where appropriate this may hold a network specific error code or an SMSC error code
  • text- the first 20 characters of the short message

Please note SMPP 3.3 and 3.4 differ such that message IDs returned from an SMPP 3.3 connection are encoded as HEX whereas 3.4 SMPP connections return message IDs as ASCII encoded integers.

You can also consult our What Does The Delivery Report Status Mean? article for information on SMPP delivery report status codes.