Hi Pedro, Glad to hear it worked fine. Answers to your questions below On Jun 01, 2006, at 00:49, Pedro Miguel Duque wrote:
> Hi all, > > I've installed mmsbox succesfully using eaif and now i can send MMS's > using text and smil parameters in a wget request like: > > wget > "http://localhost:13501? > username=mbuni&password=mbuni&from=940&to=x&subj > ect=teste&smil=<smil><head><meta name=\"title\" content=\"ola\" / > ><meta > name=\"author\" content=\"MMS\" /><layout><root-layout width=\"160\" > height=\"160\" /><region id=\"Image\" width=\"160\" height=\"120\" > left=\"0\" top=\"0\" /><region id=\"Text\" width=\"160\" height=\"20\" > left=\"0\" top=\"120\" /></layout></head><body><par dur=\"3s\"><img > src=\"http://www.portugalmaispositivo.com/files/images/ > Porto.thumbnail.j > pg\" region=\"Image\" /></par></body></smil>" > > I found a problem sending a message if there are spaces in the URL > like: > Yep! Oldest problem in the book. You need to 'url encode' the part that contains spaces. This is not a Mbuni problem, it is a general problem with an URL based application. > wget > "http://localhost:13501? > username=mbuni&password=mbuni&from=940&to=x&subj > ect=teste&smil=<smil><head><meta name=\"title\" content=\"ola\" / > ><meta > name=\"author\" content=\"MMS\" /><layout><root-layout width=\"160\" > height=\"160\" /><region id=\"Image\" width=\"160\" height=\"120\" > left=\"0\" top=\"0\" /><region id=\"Text\" width=\"160\" height=\"20\" > left=\"0\" top=\"120\" /></layout></head><body><par dur=\"3s\"><img > src=\"http://www.portugalmaispositivo.com/files/images/Queijo%20da% > 20Ser > ra.thumbnail.JPG\" region=\"Image\" /></par></body></smil>" > > I believe that mbuni translate the spaces before the request... > > Now, my question is: can I send mms files using the mmsbox? If i > have a > message application/vnd.wap.mms-message how can I send it through > mmsbox? > The send-mms port can also process HTTP POST requests. The above is what is known as a GET request, and with this form, only text and SMIL are supported. But if you can write a script (Perl, PHP, etc) that can do an HTTP POST to the Mbuni send-mms port, set the content type as application/vnd.wap.mms-message and Mbuni will handle the mms file content correctly. (Of course it handles other content types as well: text/plain is treated as text image/* as image, application/ smil as SMIL.) > thank you, > Pedro Duque > > > _______________________________________________ > Users mailing list > [email protected] > http://mbuni.org/mailman/listinfo/users_mbuni.org _______________________________________________ Users mailing list [email protected] http://mbuni.org/mailman/listinfo/users_mbuni.org
