Problem with sending SMS programmatically to multiple recipients:

Hello world

I try to send information by SMS to multiple recipients at the same time programmatically. When I am trying to send SMS messages to a recipient, it works fine. I am able to send the data to a recipient successfully without any problems. But when I try to send to multiple recipients (more than one) in the code below loop 'for', it does not send to all recipients. That is to say, sometimes he sent the data to the only recipient if there are two numbers of beneficiaries (or) sometimes is not even send SMS to anyone (or the) sometimes sent to all recipients. Like that it is not consistent way when trying to send to multiple recipients at the same time.

I even tried to use 'invokeAndWait' before calling the SMSThread code, but still the same problems.

Could someone guide how I can resolve to send content to multiple users at the same time?

public void SendMultipleSMS()
    {
        // multiple recipients stored here
        _data = (Vector) store.getContents();
        long totalSize = _data.size(); // totalSize - recipients count
        boolean yesLastSMS = false;

        // totalSize - recipients count
        if ( totalSize>0 )
        {
            _payload = null;
            _payload = contactsDetToSend(); // Content to send

            for ( int i=0; i 
         
        

I fixed it by moving beneficiaries 'for' code for the loop inside the SMSThread itself and sending to multile numbers at a time.

Tags: BlackBerry Developers

Similar Questions

  • Problems with sending sms and calls blackBerry Smartphones

    Hello

    I recently me a:

    BLACKBERRY 9300

    Smartphone (3G, WiFi)

    V5.0.0.977 (platform 6.3.0.63)

    Band 3G 1,2,5,6

    v3.8.5.85 cryptographic kernel

    version 1.0.91.633t of brand

    Configuration of micro Edition: CLD - 1.1

    Micro Edition profile: MID - 2.1

    Micro Edition JTWI version: 1.0

    Micro Edition Media version: 1.1

    Micro Edition PIM version: 1.0

    Micro Edition File version: 1.0

    Micro Edition bluetooth version: 1.1

    Micro Edition location version 1.0.1

    Micro edition security and trust services (APDU) version: 1.0

    WLAN version 4.1.1.30

    and I seem to have a unique problem.

    I'm on giffgaff (who has the phone accepts very well), but...

    1. I can only call a few people in my contact list. (at every time without problem) where others it disconnects right away when I try to call.

    2. I cannot sms only to individuals who have already sent me an sms, I can carry on a conversation but does not start with someone.

    3. some people I can txt I can't call and visa versa.

    I tried to make calls and txts in different places and times with the full signal strength. As I tried all the proposed problem fixed here. Yet, I still have the problem. I don't know if people have hurt to put a hand on me.

    any help with this would be much appreciated.

    sincere greetings

    Thanks for your detailed description, which helps us a lot. I recommend that you download blackberry protect and do a full backup. After the backup, please try reloading your software through blackberry desktop software or wipe a complete security. NOTE: all data will be lost during a wipe.

  • How to solve the problem with sending SMS in Yahoo Messenger?

    Original title: maintenance cleaning disk yahoo im window doesn't translate InfoBar

    When on yahoo messenger, you can type in the box at the bottom, but when you send is just a white in the main window...

    Hello

    Given that the problem is specific to Yahoo Messenger, I suggest you contact the manufacturer for support.

    http://IO.help.Yahoo.com/contact/index?locale=en_CA&y=PROD_MSNG&page=contact

    Kind regards.

  • problems with sending/receiving messages

    For the last two weeks my iphone 6 s and my son 6 more have had problems with sending/receiving messages in the texts of the Group and regularly comes to a voicemail.  Messages are not at all or you may be able to receive them. Then last night on a group text between me and another user of iphone and a droid user messages were not all going through and an 'unknown' appeared on the screen of the droid users as if this person has attempted to send a message to our group text but nothing was there.  Iphone users could not see it.  This morning - messages still does not go through the text of the group or on one.  Any ideas?

    SMS texts are a function of carrier

    Control an upgrade of the carrier

    If the droid user used an iPhone before having them their registration number

    Also check with support carrier technique

  • the same to send a questionnaire to multiple recipients

    I need to send a questionnaire to multiple recipients. I need them to fill it out, sign, then send it back.

    How far do with esign is?

    Hello Cory,.

    Model options are provided paid account. Please inbox me your email address so that I can check your account type. In addition, according to the guidelines of your workflow, we have a feature called MegaSign wherein you can send the same document to several signatories and to individually sign the document. This feature is available in enterprise-level accounts.

    This is the same documentation:

    Send a sign of Mega with a CSV file. Services Adobe eSign

    Kind regards

    -Usman

  • How to send an email to multiple recipients and keep the list future emails?

    How can I send an email to multiple recipients and store the names of future emails?

    Are you using an e-mail application to send and receive your emails?

  • When I try to send an email to multiple recipients, I get this message: "there are non-ASCII characters in the local part of the address of the recipient. This is not

    I bought a new computer. When I try to send an e-mail to multiple recipients, now, I get this message: "there are non-ASCII characters in the local part of the address of the recipient. It is not yet supported. If please change this address and try again. "I don't know what are the non-ASCII characters, so I don't know what to do. I never had this problem on my old computer. Please explain in simple language.

    The 'local' part in the context of email addresses, the part to the left of the symbol @. The warning is a bit of a surprise, because in general the owner of a mail server is relatively free to specify the address format. There is a movement to allow the games to other characters to be used in the fields, so I'm a little disappointed to see that, apparently, e-mail does not support the latter in the local part yet or it can be your SMTP server that generates this message.

    ASCII characters ("American Standard Code for Information Interchange") are, on the whole, the English alphabet, uppercase and lowercase, as well as figures, common punctuation and case of things like the asterisks, obliques and media bars, but not of accented characters. But even apparently simple things like spaces and dashes have cousins who, at first glance, appear to be identical, but are not represented in the ASCII system. I am thinking especially nonbreaking spaces, dash and half-quadratin.

    But I don't know why your new computer must have caused these warnings.

  • Satellite A200-1A 9: problem with sending/receiving e-mail using Windows Mail

    Use Windows mail, I have to open/close the program to be able to send emails, they are entangled in the Outbox. By closing and reopening the program, mail is sent. Also the blue figure 1, supports showning 1 mail unread in the Outbox is there all the time, although there is no read or unread emails in the Outbox

    Not a problem server as all mails are go/very good reception on my desk.

    Pressing on send and receive button does not help. Although from time to time on what it will receive emails when you press send/receive, but will not send the

    I have Norton Internet security 2007 and getting fed up with the ongoing problems that seems to cause during the period 2004-7.

    Is there a problem with the running with Vista Windows mail program which is known

    I think I found a solution

    Please check this:

    Windows Mail won't send or receive emails
    http://support.toshiba-tro.de/KB0/TSB7701X30005R01.htm

    It seems that the update of the Software Desktop SMS Installer version will help to address this problem.

  • How can I send an email to multiple recipients without showing the e-mail address of the recipients?

    I received emails from people who do not have other names of recipients.  How they do that?  They create a group first Contact?

    I have an occasional need to send e-mail messages to multiple recipients, but don't want them to know the list of recipients.  Is this possible?

    I use Windows Mail with Vista.

    Thank you.

    You are welcome

    This forum post is my own opinion and does not necessarily reflect the opinion or the opinion of Microsoft, its employees or other MVPS.

    John Barnett MVP: Windows XP Expert associated with: Windows Expert - consumer: www.winuser.co.uk |  vistasupport.mvps.org | xphelpandsupport.mvps.org | www.silversurfer-Guide.com

  • Question about sending e-mail to multiple recipients

    Hi all

    I'm creating a workflow that will send a notification by email each time a new campaign is created. I learned that R16 is able to send emails to multiple recipients, the only concern I have is that I can't find everything will have on how to do it. It is indicated in the Guide of Preview R16 administrator you can select "specific"E-mail address ", enter several e-mail addresses directly, tried to enter several e-mail addresses separated by comma - [email protected], [email protected], [email protected] for example, but it does not work and invites me to enter a valid email address. Could someone guide me on how to enter several e-mail addresses when you select 'Specific E-mail address' or how to do it in the expression builder to set the expression that defines the list of emails. I know that by using addresses group e-mail can be used as an alternative to this requirement, but I hope that their way to proceed with workflows.

    Thank you
    Wayne

    Wayne,

    Outlook uses one; to divide email addresses have you tried?

    see you soon
    Alex

  • How can you send an email to multiple recipients easily?

    I want to send an e-mail containing links to multiple recipients. Is there an easy way to do this?

    You have the box contact enabled in the window of writing. Open a window of writing and press F9.

    Double-click contacts to add address fields or select multiple contacts by holding the CTRL key while clicking on them. When you have selected using one of the buttons add to down.

  • Problem with sending a message when you're connected via Wi - Fi

    Hello. Still getting used to my Dext (owned it for about 4 days). I noticed this morning that I can't send the mail from the POP3 account, I set up on my Dext when I am connected via Wi - Fi - when I try I get an "authentication failure". When I disable Wi - Fi email sends end. There is no problem with webmail - send although I am connected to the Wi - Fi or 3 G network.

    Anyone know how to send the mail while POP3 on the Wi - Fi network? Thanks in advance...

    Understand the problem - port incorrect settin for mail server outgoing. Changed to 587 according to some messages that I saw during a search - that did the trick!

  • Problems with sending some e-mail from abroad.

    Please bear with me on this problem as I am not very intuitive in regards to the accounts. POP, etc. etc.

    I have a system Windows 8 and use the BT Internet to send messages without any problems. But today I tried twice to send the same e-mail to a gmail account in America with two clips of very small size but in a few minutes, he returned with an error message stating that the e-mail could not be sent my e-mail address and to contact my ISP (BT). I have in the past received emails from that same address with no problems.

    I contacted BT and they checked my system and everything works fine and there is nothing else they can do, I can send other emails to colleagues in the United Kingdom without any problem.

    My wife sent a test message to the gmail address, and it was received without a problem so I'm assuming that the fault lies somewhere on my PC.

    Your help would be very appreciated.

    Hi Steve,.

    1. Your wife uses BT E-mail account to send emails?
    2. Are you facing problems with the other recipient?
    3. You use mail application?

    Please return with the required parameters so that we can better help you.

  • Problem with sending a fax to network folder

    I have a HP 8500 Office Jet Pro, 910g hooked to my wireless network.  I configured the printer to send faxes received to a network on my computer folder, and not to print a paper copy.  However, the printer saves only the first page of the fax in the folder and the other pages do not appear in the file.

    My computer is running Windows Vista Home Edition 32-bit. I don't get the error messages.

    Someone knows how to fix this? or is it how the HP digital fax?

    Thanks, Jim

    Hi Jim,.

    The fax is received as a TIF format and more likely to contain pages, but not just any TIFF reader supports multi-Tiff files.

    Make sure you have opened the file using the Windows Photo Viewer supporting multi-Tiff, if it does not open the default file you can click with the right button on the file and select the program from the open with menu.

    Please let me know if that can solve the problem that you are facing.

    Shlomi

  • LASERJET PRO M1536DNF - problem with send reel

    Hello

    It is a simple (or stupid) question. I just need to send several different faxes with different numbers, but I can just send a fax at the same time. There is no queue, the fax cannot store more than one fax at a time. I think that the fax is not well configured. Can someone help me?

    Thank you.

    Hi WillBTech,

    Update: the printer will do queue while the first fax sent. Here's what I discovered. When the first fax is being sent I typed in the second number, and then press the Send Fax button. The problem, I've noticed, is that you can not see the numbers that you type to the second fax as the screen is showing fax send. Once the first fax has finished the printer will return to the home screen, and then a few moments later will start the second fax that was typed in, while the first was sending. Fall down is that you must make sure that you type the second fax number without any errors. Let me know if you have the same experience?

Maybe you are looking for