Send MMS Pictures and Sounds from the WEB ? | Search |
NowSMS Support Forums ⬆ MMS & SMS Technical Discussions (unsupported) ⬆ Archive through October 29, 2003 ⬆ |
◄ ► |
Author | Message | |||
Tony |
Hello , i d like to send MMS with pictures from the i-net , so the web interface from NOWSMS (like localhost:8800) can only send local files. How can i send files which are online on another sites ? | |||
Bryce Norwood - NowSMS Support (Bryce) |
We've been thinking about adding that capability in the future. For now (and it's still this way in the new release coming next week) ... the best you can do is download the file from the other web site to a PC, and then use a browser on that PC and select "Send MMS Message" option from the web interface ... attaching those files. Programmatically, you can also emulate the behaviour of the "Send MMS Message" dialog. It looks like we haven't documented that interface. Unlike the other interfaces that use an HTTP GET ... this one uses an HTTP POST with an encoding type of "multipart/form-data", which allows files to be uploaded. Include the following parameters in your form-data POST: PhoneNumber MMSSubject MMSText (optional, if you want to include a simple text part) MMSFile (include contents of the file, multiple allowed) Creating a multipart/form-data message is a little tricky. It's similar to building a MIME e-mail message, just that any 8-bit data should stay 8-bit and not get encoded. -bn | |||
Bryce Norwood - NowSMS Support (Bryce) |
Oh ... and of course, there is one other great way of sending files remotely ... the e-mail interface. Granted, you've got to get DNS configured to get the e-mail gateway interface working, but with that interface you simply attach files to an e-mail message and away you go to an MMS message. -bn | |||
Anonymous |
I need to know if i am doing an web MMs composer that composes mms. what type of content i will be using Http Content or WSP content. aslo i would like to know how now sms use clicktell to send MMS | |||
Bryce Norwood - NowSMS Support (Bryce) |
The MIME type is "application/vnd.wap.mms-message". The WAP specifications at the www.openmobilealliance.org site document the format. The MMS encapsulation describes the header format, and then WAP WSP multipart encoding is used to encode the content of the message. MMS messages are retrieved over HTTP. (WSP protocol is used between the mobile phone and a WAP gateway, but the WAP gateway makes an HTTP request to fetch the MMS content.) Clickatell templates for the Now SMS/MMS Gateway are as follows: TemplateText=/http/sendmsg?api_id=clickatell_api_id_here&user=clickatell_username&password=clickatell_password&to=@@PhoneNumber@@&text=@@Text@@ TemplateBinary=/http/sendmsg?api_id=clickatell_api_id&user=clickatell_username&password=clickatell_password&to=@@PhoneNumber@@&udh=@@UDH@@&text=@@Text@@ You need to substitute in an API_ID that Clickatell assigns you, and a username and password into the URL templates. -bn | |||
bjokken Unregistered guest |
test | |||
Anonymous |
Bjokken, When did you fall out of the ugly tree, apologies we do do support for plastic surgery. BTW There was no need to pull the face, it looks bad enough as it is |