send dlr receipt to client
Posted: Wed Apr 22, 2020 11:16 pm
Hello,
I am sending Delivery receipt using the following
is there any timeout error? what can i do properly if the server failed to connect the client.
Thanks
I am sending Delivery receipt using the following
Code: Select all
DeliverSmResp[] response = await serverClient.DeliverAsync(
SMS.ForDeliver()
.From(systemid)
.To(destination)
.Receipt(new Receipt
{
DoneDate = DateTime.Now,
State = dlr,
MessageId = req.clientMessageId,
ErrorCode = "0",
SubmitDate = DateTime.Now
}
)
)
.ConfigureAwait(false);
Thanks