Error message in the mms submitted.

Error message in the mms submitted. SearchSearch
Author Message
whiskyconorujo
New member
Username: V800

Post Number: 12
Registered: 05-2007
Posted on Tuesday, July 10, 2007 - 03:01 pm:   

Hi, I'm Antonio,

and I have configured NowSms for store the MMS inside mms-in folder.

After that I send that messages with an http post.

The messages are sended to the recipients, and they arrive complete but with an added sheet saying that the mms had attached one element that can't be readed by the phone.

Can it be the smil (_part_) file the cause?
the http post command is this one:
http://217.128.xxx.xx:8800/?PhoneNumber=06290xxxxx&MMSFrom=+346576xxxxx&MMSSubject=CHANGING%20THE%20SUBJECT??&MMSText=More%20text%20attached??&MMSFile=http://perso.ensil.unixxx.xx/~xxxxxx/xxxxx/467FAA35.hdr&MMSFile=http://perso.ensil.unixxx.xx/~xxxxxx/xxxxx/467FAA35/_part_&MMSFile=http://perso.ensil.unixxx.xx/~xxxxxx/xxxxx/467FAA35/Image(5).jpg
"the x are for security issues"
I attach the http post and the mms:
application/x-zip-compressedzip with the mms
467FAA35.zip (16.3 k)


Thx again.
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 7325
Registered: 10-2002
Posted on Tuesday, July 10, 2007 - 08:51 pm:   

Hi Antonio,

It is likely that both the ".HDR" and "_part_" SMIL file are the problems.

The ".HDR" file that you receive is a text version of the MMS header of the received message. When you submit the ".HDR" file back to NowSMS as a piece of MMS content, NowSMS includes it in the message as content of the MIME type "application/hdr". The receiving client is not going to know what to do with this piece of content because it does not know that content type. And even if it did, the content is not really relevant as it is a text version of the original received MMS message header.

But even if you leave out the ".HDR" file, the SMIL part is likely to cause a problem. The original sending client just named the SMIL file "_part_". When you submit it back to NowSMS in this way, NowSMS doesn't know that it is a SMIL file. When you submit an MMS message in this way, NowSMS identifies the content type of each piece by the file extension, and there is no file extension here.

My advice, if you want to simply forward the original message, would be to run MMSCOMP against the ".HDR" file to generate a raw ".MMS" file. You can pass the ".MMS" file through this interface, retaining all the original content types.

-bn