QSmsMessage

Login or register to post comments
11 replies [Last post]
Steven Warren's picture
Offline
Joined: 11/06/2008

For those interested we have extended the QEmailMessage class to send text messages to mobile phones. The new class is QSmsMessage and also includes a QSmsCarrierType class that is a list of several US Mobile Providers and the domains that they use for texting.

Works great for sending mobile alerts to users or admins.

I have attached a zip file with the class file and an example QForm.

EDIT: Deleted original attachment and added as a plugin file.

alex94040's picture
Offline
Joined: 11/06/2008

Dude, this is TOTALLY hot. Do you want to create a 1.1 plugin out of your work? It'd make the installation easier for folks (and it'll give you a chance to write a simple example file :))

Steven Warren's picture
Offline
Joined: 11/06/2008

I will package it up tonight.

Steven Warren's picture
Offline
Joined: 11/06/2008

As promised. Here is QSmsMessage as a plugin. I tried to upload to SVN but I kept getting an authentication challenge. It seems the public still cannot upload and my forum credentials did not work. File was added to original post as replies do not allow file attachments.

I also noticed that QSwfObject, a plugin for embedding flash/YouTube video, has not been added either.

alex94040's picture
Offline
Joined: 11/06/2008

Allegro - can you please try uploading the files to the /plugins directory again? I just played with some SVN settings, it should now work. Please use your qcu.be username/password to authenticate with SVN.

Steven Warren's picture
Offline
Joined: 11/06/2008

SVN authentication still fails with my credentials from the website.

alex94040's picture
Offline
Joined: 11/06/2008

Allegro, I am so sorry for these continued mistakes on my part. I sank another couple hours into the issue; I created a test account for myself, and TADA! It finally works. Please try again, with your qcu.be credentials. You should be able to edit files under /plugins.

Steven Warren's picture
Offline
Joined: 11/06/2008

Alex,

Worked perfectly! I uploaded the QSmsMessage plugin. I will upload QSwfObject later this evening.

alex94040's picture
Offline
Joined: 11/06/2008

WOOOO HOOOO I'm so glad we finally got this working :) :) :)

Please be sure to also edit the Plugin Directory to include short info / links to the plugin: http://trac.qcu.be/projects/qcubed/wiki/plugins. You might also want to write a short (very simple) example for each of your plugins, illustrating the functionality and talking about it in plain English.

I'll then add your examples file(s) by installing the plugins onto the http://examples.qcu.be site, and we'll be all done!

Steven Warren's picture
Offline
Joined: 11/06/2008

Already done with examples.

Offline
Joined: 06/15/2010

Hello,

I guess this would be a great plugin but before I download and use it, I'd want to know if the plugin works for other Mobile Operators/Carrier that is not included in your QSmsCarrierType class.

Regards

Steven Warren's picture
Offline
Joined: 11/06/2008

SMS is basically no different than email. You just need to know the domain to append to the phone number. You can google and find list of common carriers and add them to QSmsCarrierType. Please note that with carriers merging some of these may have changes. Here is a list I found that seems to be recent:

http://www.sensiblesoftware.com/weblog/2011/02/28/cell-phone-email-addre...