MMSSenderAPI

class MMSSender
    Source file(s): MMSSenderAPI.py

This class provides the capability of composing and sending MMS messages through an HTTP interface.

The MMS message can contain text, image, audio and video but you should take into account that mobile phone cannot display image or audio while playing video, so it is not advisable to insert a video file if image or audio has been inserted previously.

To send a multimedia message you have to take the following steps:
  1. First of all, you have to log in with your telephone number and password
  2. Then you can begin to add attachment files. These attachment files can be images, audio files and video files. The maximum message size, including all attachments, is 300kb.
  3. To send the composed message you will have to provide the destination (telephone number or email address), message subject and message text.

This API is available for all movistar subscribers in Spain.

Methods
Login Performs login to MMS service
InsertImage Inserts an image in the multimedia message
InsertAudio Inserts an audio file in the multimedia message
InsertVideo Inserts a video file in the multimedia message
SendMessage Sends an MMS message
Logout Performs logout of MMS service

Sample Code
MMS Sender Sample code to show how to use MMSSender API