How to response the mms content to UE | Search |
NowSMS Support Forums ⬆ NowSMS Support - SMS Issues ⬆ Archive through April 10, 2005 ⬆ |
◄ ► |
Author | Message | |||
williamlee Unregistered guest |
hi,i have problem,someone can help me.UE receive my MMS notification,connect to my wap get the mms content.i response the .mms file to UE like: Function MMS(url) Response.Buffer = true Response.Clear Dim fso,fl,flsize dim Dname Dim objStream Set fso=Server.CreateObject("Scripting.FileSystemObject") Set fl=fso.getfile(url) flsize=fl.size Set fl=Nothing Set fso=Nothing Set objStream = Server.CreateObject("ADODB.Stream") objStream.Open objStream.Type = 1 objStream.LoadFromFile url Response.AddHeader "Content-Length", flsize Response.ContentType = "application/vnd.wap.mms-message" Response.BinaryWrite objStream.Read Response.Flush response.Clear() Response.End objStream.Close Set objStream = Nothing End Function it's right to write so? Nec N-8 can receive successfully.but others cann't.such as nokia6600,gd88,and so on. Can you help me?}}}} | |||
Bryce Norwood - NowSMS Support Board Administrator Username: Bryce Post Number: 3916 Registered: 10-2002 |
Does the user agent get as far as to even request your URL? It might be blocked by the settings in the phone ... See http://www.nowsms.com/howmmsworks.htm for more info. Otherwise, if you give me a public URL, I'll send out a notification to a few devices, and take a look at it ... but it's too hard to guess based upon the above posting. -bn |