我在通过我的应用程序发送彩信时遇到问题。彩信的附件似乎搞砸了。有什么方法可以从 MMS 或 iOS 上的任何 xml 格式中提取 mm7。我知道有应用程序可以在 Android 上执行此操作,但 iOS 呢?
编辑:我很想从我的 mm7/xml 文件中得到这种输出,smil...anything...
--34543345345435\r
Content-Type: text/xml; charset=us-ascii\r
Content-Transfer-Encoding: 7bit\r
Content-ID: <mms7-submit>\r
\r
<?xml version="1.0" ?>
<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
<env:Header>
<mm7:TransactionID xmlns:mm7="http://www.3gpp.org/ftp/Specs/archive/23_series/23.140/schema/REL-6-MM7-1-4">657567567567</mm7:TransactionID>
</env:Header>
<env:Body>
<SubmitReq xmlns= "http://www.3gpp.org/ftp/Specs/archive/23_series/23.140/schema/REL-6-MM7-1-4">
<MM7Version>6.8.0</MM7Version>
<SenderIdentification>
<VASID>#{vasid}</VASID>
<VASPID>#{vaspid}</VASPID>
</SenderIdentification>
<Recipients>
<To>
<Number>+#{msisdn}</Number>
</To>
</Recipients>
<ServiceCode>#{shortcode.to_s}</ServiceCode>
<ApplicID>#{applicid}</ApplicID>
<AuxApplicInfo>#{action}</AuxApplicInfo>
<DeliveryReport>true</DeliveryReport>
<Subject><![CDATA[#{subject.to_s}]]></Subject>
<Content href="cid:myid.cidgeneric" allowAdaptations="false"/>
</SubmitReq>
</env:Body>
</env:Envelope>
\r
--34543345345435\r
Content-Type: multipart/related; boundary="657567567567"\r
Content-ID: <myid.cidgeneric>\r
.....CONTENT...
--34543345345435\r
谢谢