MMS2EMAIL and MMS2Web

MMS2EMAIL and MMS2Web SearchSearch
Author Message
Mathew A.
New member
Username: Mathew

Post Number: 4
Registered: 12-2004
Posted on Wednesday, December 29, 2004 - 04:25 pm:   

Hi,
Trying to experiment with the mms capabilities of NowSMS. Basically I want to build an mms2email and mms2web service.
1)MMS2Email
The operator will submit the mms messages to NowSMS over mm1/mm7. My question is, how will nowsms determine what email address to route it on, since the user can enter any email address to send the mms to? Also I want to restrict the size of the incoming mms messages. How do I do that?
Another problem is that how will the operator route the mms messages to nowsms? I mean like short codes on SMSC's is there some similar short code for MMS? If yes, then where will the user enter the email address?

2)MMS2web :
I will have only one connection to receive mms from the operator. Some will have to be forwarded to email for mms2email and others will have to be displayed in webpages.
How do I decide what will go where??? Also how do I get the phone number of the sender? Do you have any scripts to retrieve from hdr files? There are no 2 way commands that we can configure for receiving MMS?

How do I work with NowSMS for designing MMS contests? All the parsing of information from the in directory will have to be done by an external script?

Thanks
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 3803
Registered: 10-2002
Posted on Thursday, December 30, 2004 - 05:11 pm:   

Hi Matthew,

1.) Well, that is a problem for what you want to do.

An MMS user needs to address a message to a phone number or an e-mail address. If they are going to route it to your service, then they would need to send it to your phone number or short code.

But you would then need to establish some other mechanism for how the user tells you what e-mail address they want the message to be sent to.

Typically, with SMS to e-mail services, the way this is done is that the first word of text in the message is the intended recipient e-mail address.

But it is more complicated in an MMS message. You could still do something similar, but it would require more parsing.

We do not have a way to restrict the incoming message size in this type of configuration.

If you are receiving messages over a GPRS modem, then the user would send to that phone number. Or if you have an MM7 account with a mobile operator, you could have one or more short codes, like with SMS.

2.) I don't know what your decision tree looks like for determining what messages go to e-mail and which go to web pages, so I can't really offer any advice on that.

The phone number of the sender will be included as the "From:" header.

We don't offer any 2-way commands for MMS messages because the MMS message structure is far more complex than a text message. But there are several routing options available to you, besides the file based interface.

We can post them to you via MM7, which is basically an XML/SOAP wrapper around the message content in a MIME format.

Or we can forward the content to an e-mail address, which again gives you the content in MIME format.

There's a good link out here somewhere that gives an example of a HDR file, and how the file/directory based interface works. Let me see if I can find it ...

Well, maybe it's not as helpful as I thought it was, but it has a good example of what the HDR file looks like on a received MMS message when you use the file/directory based interface:

http://support.nowsms.com/discus/messages/485/2135.html
Mathew A.
New member
Username: Mathew

Post Number: 6
Registered: 12-2004
Posted on Sunday, January 02, 2005 - 06:22 am:   

Thanks Bryce.
Could you point me to some scripts which Ican use to forward all incoming mms messages to a website ? Like building an MMS image library for individual users.
How do we parse the hdr files?
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 3894
Registered: 10-2002
Posted on Monday, January 17, 2005 - 08:25 pm:   

Hi Matthew,

Sorry for the delay, but I don't have any script examples.

Basically, the HDR files are just text files that appear in the MMS-IN directory as new MMS messages are received.

The typical headers are shown in the link above.

But I don't have any tricks for how to parse these files. Sorry.