资 源 简 介
彩信中smil格式的发送程序代码。 //1. 创建MM7消息发送接口//2.置VASP注册的各种信息.VAS_PASSWORD= "yourPassword" MMSC_URL="http://61.144.250.225/vas" etSubject("汉字iiiii") //设置消息类型,使用SMIL方式一定要设置为tipart.related类ontentType(m.CT_APPLICATION_MULTIPART_RELATED ) mil文件中描述了要添加的发送的消息内容体 //添加内容体设置内容体格式.addContent) //将创建好的内容添加到消息//下面添加的消息内容体都对于于smil文件中描述的各个文件
该ID对应于smil文件中描述的消息内容
-MMS were sent smil format code.// 1. Create MM7 messaging interface// 2. Home Feature registration information. VAS_PASSWORD = "yourPassword" MMSC_URL = "http://61.144.250.225/vas" etSubject ( "Chinese iiiii ")// set up the message type, the use of SMIL way must set to tipart.related category ontentType (m.CT_APPLICATION_MULTIPART_RELATED) mil paper describes add to the information content of this body// add content-content-set format. addContent)// create content added to the good news// add the following information for the contents of their bodies in smil file describing the various documents corresponding to the I