|
我用如下代码,想做一个MMS后台发送MMS的程序,但发送不成功。请路过的兄弟看看,问题在哪里?
void SendTestMMS(void)
{
MeaAddrItem items;
char name[100], number[100];
meaSeInit();
createInstance(¤tMsg, 2);
handleActivate(currentMsg->theMessage);
// handleStartupMode(currentMsg, MEA_SE_FSM, 2);
items.addrType = 1;
strcpy(name, (const char *)"13088888888");
strcpy(number, (const char *)"13088888888");
items.address = number;
items.name = name;
items.next = 0;
setAddr(¤tMsg->theMessage->msgProperties->to, &items);
handleSeTvOkAction((char *)"A", 0, NULL, 0);
// meaSeAddAttachment("d:\\photos\\wall01.gif");
// measeAddImage();
meaSendMessage(MEA_ME_FSM, MEA_SIG_ME_SEND_DONE, currentMsg->theMessage->msgId, FALSE);
} |
|