2

请告诉我,有没有办法在 Java 中使用 MM4 协议发送彩信?

我在 Google 和 GitHub 上发现了一些发送 SMS 和 MMS 消息的示例项目,但它们使用 MM7 协议来发送消息。如果有一些免费的 API,也请告诉我。

4

1 回答 1

5

MM4 interface is used for MMSC-to-MMSC connectivity. When you send an MMS to recipient outside your home mobile network message is sent from your MMSC over MM4 to recipients MMSC.

MM4 is based on SMTP with additional MMS specific headers. Operators don't use public internet for MM4, usually it will go through a VPN.

To send a message over MM4 you need to construct an email message in a correct format and send it to MMSC's SMTP port. There is a ton of examples all over the internet on how to send email with Java or any other language of your choice.

For specific MMS headers, ask operator for a sample message dump or check out MMS related specs from:

3GPP (http://www.3gpp.org/component/itpgooglesearch/search?q=MM4) (see 23.140)

OMA (http://technical.openmobilealliance.org/Technical/release_program/mms_v1_3.aspx)

于 2014-03-25T13:30:50.260 回答