The UK Home Automation Archive

Archive Home
Group Home
Search Archive


Advanced Search

The UKHA-ARCHIVE IS CEASING OPERATIONS 31 DEC 2024

Latest message you have seen: Re: Belated Hi my name is - and first question


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Digest Number 3708


  • To: <ukha_d@xxxxxxx>
  • Subject: Re: Digest Number 3708
  • From: "Alex Kinch" <alex@xxxxxxx>
  • Date: Wed, 2 Jul 2003 15:31:54 +0100
  • Mailing-list: list ukha_d@xxxxxxx; contact ukha_d-owner@xxxxxxx
  • References: <1057153730.5444.10904.m11@xxxxxxx>
  • Reply-to: ukha_d@xxxxxxx


Hi Justin

The SendMyTxt app truncates submitted messages larger than 128 characters,
there are plans to support multiple messages but that's a little while off.

Also as per your request I've changed the response to return the number of
remaining credits. The new response is "ok-123", where 123 is the
number of
credits left.

Can I leave you to tweak the script to take into account the new remaining
credits response?

Cheers
Alex

----- Original Message -----

Alex,

Will a message not get through if > 128 characters?
If not, maybe the script should check the length of the outgoing message,
if
it
is >128 then truncating it and warning the user (via log) or if you
wanted
to
get fancy, split it into multiple messages!

Also, I think it would be useful if your system could return the number of
remaining credits. Maybe this could be returned with the initial
"ok"
response
e.g. "ok-42" or if that is not possible perhaps have a separate
query e.g.
http://www.sendmytxt.com/app/httpsend.asp?from=07123456789&pin=1234&creditcheck

Using the first method, the existing script could check it against a
threshold
every time a message was sent and advise the user of low credits in a
number
of
ways.

The second method would require a new reoccurring script and would generate
unnecessary hits on your site.

Either way it would help prevent running out of credits, which would be
somewhat annoying if an important message didn't get through!

Cheers,
Justin.




Home | Main Index | Thread Index

Comments to the Webmaster are always welcomed, please use this contact form . Note that as this site is a mailing list archive, the Webmaster has no control over the contents of the messages. Comments about message content should be directed to the relevant mailing list.