none
how to detect the incoming mms? RRS feed

  • 常规讨论

  • hi guys:
       Does anybody know how to dectect the incoming mms? i used mapi before. but it failed sometime:

    SizedSPropTagArray(1, sptaEmail)   = { 1, PR_SENDER_EMAIL_ADDRESS};
    hr = pMsg->GetProps((SPropTagArray *) &sptaEmail,

                            MAPI_UNICODE,

                            &cValues,

                            &pspvEmail);



        if (FAILED(hr)||pspvEmail->Value.err<0) {

            RETAILMSG(TRUE, (TEXT("Couldn't get the sender's address!\r\n")));
          

            goto Exit;

        }
    2010年2月24日 10:23