Skip Menu |

This queue is for tickets about the Net-SMS-TMobile-UK CPAN distribution.

Report information
The Basics
Id: 39944
Status: resolved
Priority: 0/
Queue: Net-SMS-TMobile-UK

People
Owner: Nobody in particular
Requestors: ivan [...] ivankelly.net
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Initial send not working
Date: Fri, 10 Oct 2008 14:11:43 +0300
To: bug-Net-SMS-TMobile-UK [...] rt.cpan.org
From: Ivan Kelly <ivan [...] ivankelly.net>
Hi, Tmobile must have changed their site again, this library seems to be only working on the second attempt. My code is: while (1) { my $sms = Net::SMS::TMobile::UK->new(username=>$username, password=>$password, debug=>$debug); $sms->sendsms(to=>$number, message=>$message); if ($sms->error != 0) { print "Error sending message ".$sms->error.". Try again? [Y/n]"; $resp = <STDIN>; chomp ($resp); if ($resp =~ /^N|n/) { last; } } else { print "Message Sent\n"; last; } } Im getting error 3 the first attempt, but it works fine on the second. -Ivan
On Fri Oct 10 07:12:26 2008, ivan@ivankelly.net wrote: Show quoted text
> Hi, > Tmobile must have changed their site again, this library seems to be > only working on the second attempt.
Indeed they had - apologies for not picking this up more quickly. I've just uploaded a new copy of the module with the relevant changes - hopefully should be visible shortly.