Try our Send MMS Demo for free and find out how the API works.

Send MMS Demo

Please Login to use the service
General Input

number of Receiver *

Subject *


0 / 40 chars

Message


17 / 255 chars
Media Input
Upload a File File-URL

File


File Name

File Preview



More Information

Telekom Send MMS APITelekom Send MMS enables easy sending of MMS messages out of applications in all German networks.

Go to Telekom Send MMS API

How it works:

  1. function sendMms(){
  2.  
  3. try{
  4.  
  5.  
  6. $this->client = new SendMmsClient(
  7. $this->environment,
  8. $this->user,
  9. $this->pswd);
  10.  
  11. $mmsResponse = $this->client->sendMms(
  12. $this->number,
  13. $this->mms->getSubject(),
  14. $this->mms->getMessage(),
  15. $this->mms->getAttachement()->getUrl(),
  16. $this->mms->getAttachement()->getFilename(),
  17. $this->mms->getAttachement()->getContentType(),
  18. $this->mms->getOriginator() );
  19.  
  20. if(!($mmsResponse->getStatus()->getStatusConstant() ==
  21. SendMmsStatusConstants::SUCCESS)){
  22. $errorMessage = $mmsResponse->getStatus()->getStatusCode();
  23. throw new Exception($errorMessage);
  24. }
  25. }
  26. catch(Exception $e){
  27. //Exceptionhandling here
  28.  
  29. }