put message in inbox
Posted: Mon Jul 01, 2013 10:49 am
hi
when i send a message with smpp my message show automatic in mobile but i want showing message in inbox
how i can do it ?
my code is this :
Inetlab.SMPP.SmppClient client = new Inetlab.SMPP.SmppClient();
client.Connect("x", x);
if (client.Status == Inetlab.SMPP.Common.ConnectionStatus.Open)
{
client.Bind("x", "x", Inetlab.SMPP.Common.ConnectionMode.Transmitter);
if (client.Status == Inetlab.SMPP.Common.ConnectionStatus.Bound)
{
List<SubmitSmResp> respList = client.SubmitText(Inetlab.SMPP.Common.SubmitMode.ShortMessage, 0, 0, "300...", 0, 0, "091...", "test");
if (respList.Count > 0 && respList[0].Status == Inetlab.SMPP.Common.CommandStatus.ESME_ROK)
{
Console.WriteLine("SMS has been sent");
foreach (SubmitSmResp resp in respList)
{
Console.WriteLine("MessageId: "+ resp.MessageId);
}
}
client.UnBind();
}
client.Disconnect();
}
}
when i send a message with smpp my message show automatic in mobile but i want showing message in inbox
how i can do it ?
my code is this :
Inetlab.SMPP.SmppClient client = new Inetlab.SMPP.SmppClient();
client.Connect("x", x);
if (client.Status == Inetlab.SMPP.Common.ConnectionStatus.Open)
{
client.Bind("x", "x", Inetlab.SMPP.Common.ConnectionMode.Transmitter);
if (client.Status == Inetlab.SMPP.Common.ConnectionStatus.Bound)
{
List<SubmitSmResp> respList = client.SubmitText(Inetlab.SMPP.Common.SubmitMode.ShortMessage, 0, 0, "300...", 0, 0, "091...", "test");
if (respList.Count > 0 && respList[0].Status == Inetlab.SMPP.Common.CommandStatus.ESME_ROK)
{
Console.WriteLine("SMS has been sent");
foreach (SubmitSmResp resp in respList)
{
Console.WriteLine("MessageId: "+ resp.MessageId);
}
}
client.UnBind();
}
client.Disconnect();
}
}