Issues with creating custom MMS messages

Issues with creating custom MMS messages SearchSearch
Author Message
Robert G.
New member
Username: Rbgcode

Post Number: 9
Registered: 02-2015
Posted on Wednesday, September 09, 2015 - 12:28 am:   

I read through your support and the forums and I was still having some issues making a custom MMS so that when we send a text message to people from the NowSMS application it would have our text and image on it.

I went ahead and created a quick .net application to handle it for me and it seems to work great. Would you mind if I posted the application up for people to use?

Also I was going to make a monitor utility that sits in the system tray just periodically checking on the health of the computers we have sending messages. What would be the best way besides reading the .db files for record count to see if there are x amount of messages stuck in the queue or more so I can send out an alert?

Thanks in advance for your help and answers.
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 5436
Registered: 08-2008
Posted on Wednesday, September 09, 2015 - 12:35 pm:   

Hi Robert,

That's great...we love examples like that.

If you haven't already looked at it, I'd recommend the XML status query for monitoring. Some good info links here: http://www.nowsms.com/tag/xml

I also recently added a good example here: http://support.nowsms.com/discus/messages/1/73412.html .... but it was PHP based, not .NET

--
Des
NowSMS Support
Robert G.
New member
Username: Rbgcode

Post Number: 12
Registered: 02-2015
Posted on Thursday, September 10, 2015 - 03:30 am:   

Well what I was really hoping was that there is a php function on the machine that I could call and have it return just certain information to the .net applications. Since there is already a server built into NowSMS i was thinking php files that returned the information I could visit the link nd then fill a single application with information like having a dashboard that could monitor multiple systems say 7 or 8 at the same time.

the xml information may work perfectly for me, I will just use linq to xml.

As far as the application I made, it does not have any error handling or anything in it really, but you basically, if you refer to the screenshot, you specify the title, choose an image them specify the text and it outputs the mms message for you so no command line or anything is needed. Should I send the source to you for review before posting it or, I would love to share it so if you could let me know that would be great. MMS Creator Screen Shot
Robert G.
New member
Username: Rbgcode

Post Number: 14
Registered: 02-2015
Posted on Thursday, September 10, 2015 - 12:24 pm:   

That XML file is handy and has some great information but would I be able to change the php file and the output or is there another file that might contain the message queue. That is what I was really hoping to monitor was the current queue so that if it climbs above a certain number it alerts the admin and that xml file does not contain the current queue of mms or sms pending.
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 5442
Registered: 08-2008
Posted on Tuesday, September 15, 2015 - 05:16 pm:   

Hi Robert,

Feel free to upload. I'd be interested to take a look.

Regarding the XML, the <SMSOUTQ> and <MMSOUTQ> should have the current queue counts.

--
Des
NowSMS Support
Robert G.
New member
Username: Rbgcode

Post Number: 16
Registered: 02-2015
Posted on Thursday, September 17, 2015 - 06:37 pm:   

Mr.. Des, thank you very much for your reply, I am going to upload the application here for people to use, do you have a .net environment so that I could send you and only you the code and you could review it to make sure it is safe and compile then compare the md5 hash that is created, that way people are not just downloading EXE's off the web?
Robert G.
New member
Username: Rbgcode

Post Number: 17
Registered: 02-2015
Posted on Thursday, September 17, 2015 - 07:22 pm:   

Here is the exe with all needed dependencies. It is pretty straight forward, you browse for your image, you can set an optional subject or text and click create. I have not yet refined it or done any error handling as I didn't plan on releasing this but if anyone has any feedback please let me know and I will work on it.
application/octet-streamMMS Maker
mms.zip (207.1 k)