Skip Menu |

This queue is for tickets about the SMS-Send CPAN distribution.

Report information
The Basics
Id: 45868
Status: open
Priority: 0/
Queue: SMS-Send

People
Owner: Nobody in particular
Requestors: ddascalescu+perl [...] gmail.com
Cc:
AdminCc:

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



Subject: Can't send SMS to multiple comma-separated recipients
I'm writing a SMS::Send driver for Wadja.com, whose API allows delivering the same message to multiple recipients by separating their phone numbers with commas. Since SMS::Send strips commas from the "to" parameter, this will obviously not work. Would be great to allow perhaps an array as the "to" parameter, or not strip commas. Thanks for an otherwise great module, Dan
Subject: Re: [rt.cpan.org #45868] Can't send SMS to multiple comma-separated recipients
Date: Sun, 10 May 2009 00:00:17 +1000
To: bug-SMS-Send [...] rt.cpan.org
From: Adam Kennedy <adamkennedybackup [...] gmail.com>
I've been meaning for a while to start addressing these problems with "driver roles" but the only obvious candidate up to now has been for drivers that require username/password and that problem has a solution using private params anyways. If you are interesting in helping implement this concept in SMS::Send I'd be happy to give you a commit bit and advice on how it should work (in general terms). Adam K 2009/5/9 Dan Dascalescu via RT <bug-SMS-Send@rt.cpan.org>: Show quoted text
> Fri May 08 13:57:48 2009: Request 45868 was acted upon. > Transaction: Ticket created by dandv >       Queue: SMS-Send >     Subject: Can't send SMS to multiple comma-separated recipients >   Broken in: 0.05 >    Severity: Important >       Owner: Nobody >  Requestors: ddascalescu+perl@gmail.com >      Status: new >  Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=45868 > > > > I'm writing a SMS::Send driver for Wadja.com, whose API allows > delivering the same message to multiple recipients by separating their > phone numbers with commas. Since SMS::Send strips commas from the "to" > parameter, this will obviously not work. > > Would be great to allow perhaps an array as the "to" parameter, or not > strip commas. > > Thanks for an otherwise great module, > Dan >
RT-Send-CC: adamkennedybackup [...] gmail.com
Show quoted text
>> Would be great to allow perhaps an array as the "to" parameter, or not >> strip commas.
I needed this today for a project. Show quoted text
> drivers that require username/password and that problem has a solution > using private params anyways.
I solved this issue with an INI file settings that are looked up based on the driver name. SMS::Send::Driver::WebService SMS::Send driver base class for web services SMS-Send.ini [My::Driver] username=user1 password=pass1