(C#) how to read the RequestDeliveryReport

Discussion in 'C#' started by alanX, Jul 29, 2007.

  1. #1
    hi all,

    I am implemanting the pocket pc(window mobile 5.0) program which need
    sending the sms and indicate if the sms is successfully delivered.

    i have set
    but RequestDeliveryReport is a boolean property, so how can i read such delivery report.Actually, where is it?
     
    alanX, Jul 29, 2007 IP
  2. yugolancer

    yugolancer Well-Known Member

    Messages:
    320
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    110
    #2
    FIRST CHECK THIS OUT.
    Otherwise it is inside the microsoft.windowsmobile.pocketoutlook namespace.
    For example you declare a new smsmessage variable as follows:
    
    SmsMessage message = newSmsMessage(param, param);
    message.RequestDeliveryReport = true;
    
    Code (markup):
    if you want to check if the RequestDeliveryReport Property has been set to true you do that like following:
    
    if (message.RequestDeliveryReport == true) {
     //do something
    }
    Code (markup):
    Regards :)
     
    yugolancer, Aug 15, 2007 IP