Sending SMS to registered users

Author Message

Softriva .com

Wednesday 29 November 2006 3:50:12 am

Is it possible to send SMSs to registered users? Did anybody do it?
Any hint will be appreciated?

OOzy

Thank you.

Claudia Kosny

Wednesday 29 November 2006 12:21:15 pm

Hi OOzy

I have not tried it yet, but I do not see any major difficulties. You need:
- either a post register trigger to start a workflow (check http://ez.no/community/contribs/workflow/personal_folder for the trigger)
or use the content edit handler from Lukasz' blog http://serwatka.net/index.php/en/blog/ez_publish_3_8_new_custom_edit_handler (as this is called everytime an object is published you need to put in some check so you don't send unnecessary sms messages)
- access to a sms gateway, preferably via http
- money as sending sms might not be free (if you find a reliable, free of charge sms gateway please post the url here)
- some code to send an sms, check e.g. this tutorial here: http://codewalkers.com/tutorials/90/1.html (not sure whether it is any good, it was just the first google result :-)

Good luck

Claudia

Ekkehard Dörre

Wednesday 04 April 2007 2:31:37 pm

Hi,

perhaps the newsletter solution is a help:

http://ez.no/community/contribs/applications/ez_newsletter

Sending SMS works.

Greetings ekke

http://www.coolscreen.de - Over 40 years of certified eZ Publish know-how: http://www.cjw-network.com
CJW Newsletter: http://projects.ez.no/cjw_newsletter - http://cjw-network.com/en/ez-publ...w-newsletter-multi-channel-marketing

Kristof Coomans

Wednesday 04 April 2007 11:04:47 pm

The SMS class in the newsletter extension ( http://svn.ez.no/svn/extensions/eznewsletter/trunk/extension/eznewsletter/classes/ezsms.php ) only stores the message in a file on hard disk. Which program did you use Ekkehard to actually send them out?

independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org

Ekkehard Dörre

Thursday 05 April 2007 8:09:00 am

Hi,

I wrote a newsletter / SMS extension by my self, based on the gunnstein newsletter but with mass sent out via a propetary gateway.

Later it was replaced by the new eZ newsletter extension for easier supporting und his own gateway.

The old one had some custom programming, with programming from the Switzerland SMS provider, generating a XML und putting it on a server in a gateway.

But the license is not clear, it is not open source, I think, and not totally from us, so sorry, I can't post it.

Perhaps the new one, but Toby made this, I believe. Toby, am I right?

Generally there a two kinds of providers: Via XML Gateway and via email to SMS. Each provider needs his own code, some of them have PHP examples.

My provider for long years (I can't count them any more ;-) ) for example has a email2sms gateway:
http://ez.no/partner/worldwide_ez_publish_partners/beasts_associated

Hih (Hope it helps),

ekke

http://www.coolscreen.de - Over 40 years of certified eZ Publish know-how: http://www.cjw-network.com
CJW Newsletter: http://projects.ez.no/cjw_newsletter - http://cjw-network.com/en/ez-publ...w-newsletter-multi-channel-marketing

Ekkehard Dörre

Thursday 05 April 2007 8:15:23 am

... more ...
To give the customer the possibility to change (not from beasts, form the Switzerland Provider) I evaluated http://www.aspsms.com/ and had a talk with them at a trade show in Switzerland last year.

At this time, it was possible to get a test account and here are some PHP examples:
http://www.aspsms.com/examples/php/

But you have to get your own oppinion about this service.

Greetings, ekke

http://www.coolscreen.de - Over 40 years of certified eZ Publish know-how: http://www.cjw-network.com
CJW Newsletter: http://projects.ez.no/cjw_newsletter - http://cjw-network.com/en/ez-publ...w-newsletter-multi-channel-marketing

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 18 2025 22:35:57
Script start
Timing: Jan 18 2025 22:35:57
Module start 'layout'
Timing: Jan 18 2025 22:35:57
Module start 'content'
Timing: Jan 18 2025 22:35:57
Module end 'content'
Timing: Jan 18 2025 22:35:57
Script end

Main resources:

Total runtime0.0183 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0063 587.9063152.6250
Module start 'layout' 0.00630.0035 740.531339.4453
Module start 'content' 0.00980.0061 779.976697.2891
Module end 'content' 0.01590.0023 877.265638.3047
Script end 0.0182  915.5703 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002614.1696140.0002
Check MTime0.00126.5158140.0001
Mysql Total
Database connection0.00084.525710.0008
Mysqli_queries0.003116.864430.0010
Looping result0.00000.094010.0000
Template Total0.001910.310.0019
Template load0.00115.939010.0011
Template processing0.00084.362610.0008
Override
Cache load0.00073.918910.0007
General
dbfile0.00147.568980.0002
String conversion0.00000.044440.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs