Send MMS Demo
Please Login to use the service
More Information
Telekom Send MMS enables easy sending of MMS messages out of applications in all German networks.
How it works:
function sendMms(){ try{ $this->client = new SendMmsClient( $this->environment, $this->user, $this->pswd); $mmsResponse = $this->client->sendMms( $this->number, $this->mms->getSubject(), $this->mms->getMessage(), $this->mms->getAttachement()->getUrl(), $this->mms->getAttachement()->getFilename(), $this->mms->getAttachement()->getContentType(), $this->mms->getOriginator() ); if(!($mmsResponse->getStatus()->getStatusConstant() == SendMmsStatusConstants::SUCCESS)){ $errorMessage = $mmsResponse->getStatus()->getStatusCode(); throw new Exception($errorMessage); } } catch(Exception $e){ //Exceptionhandling here }