BY URL ENCODING HOW CAN SEND MMS ? | Search |
NowSMS Support Forums ⬆ NowSMS Support - SMS Issues ⬆ Archive through September 15, 2003 ⬆ |
◄ ► |
Author | Message | |||
Anonymous |
Should the following URL works for sending an MMS along with a gif (picture) file reside on my "D" Drive? OR some thing bad here. http://xxx.xxx.xxx.xxx:1234/?PhoneNumber=555555&MMSText=ABCD&MMSSubject=CHECK&MM SFile=D:/girl.jpg Thankx | |||
Anonymous |
OK the escape character of "/" is %5C, mentioned in nowsms gateway documents. But what will be the escape character of ":" ? This didn't mentioned in documents. Need HELP again.... | |||
Bryce Norwood - NowSMS Support |
Anonymous, We don't support the sending of an MMS message through a simple HTTP GET request, it needs to be sent as an HTTP POST, which is more complicated. So you can't just specify a filename or URL for the "MMSFILE" parameter. Instead, you need to generate data in MIME "multipart/form-data" where the MMSFILE part of the form actually contains all of the data from the file. I believe there are a few threads out here that you might find helpful: http://support.nowsms.com/discus/messages/12/113.html http://support.nowsms.com/discus/messages/12/85.html (talks about SMTP approach instead of HTTP) We are considering having the ability to specify MMSFILE in a simple HTTP GET where the value of MMSFILE points to a URL that contains the multimedia object (picture) ... but unfortunately in current versions of NowSMS you have to use HTTP POST. Regarding the encoding of the ":" character, that is %3A. But I don't think that will help in this specific instance. -bn |