473,322 Members | 1,781 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

How to send different sms messages to multiple recipients

6
Hi guys...i have a somewhat challenging task.I have to write an application with PHP and MYSQL
This application is intended to be an sms application that sends sms(text messages) to
various job supervisors,reporting the messages that their subordinates have received.
The application is meant to have a template;
E.g :Message From Postmaster:
Message From Auditor:
etc.
The messages for each subordinate are stored in a table and are retrieved
for each subordinate for a given time period.Each subordinate has a job role which defines the kind of message he receives.
That is:A postman has "pre-defined" people that can send a message.E.g The Postmaster,the PostOffice....etc.
An example showing the message format is:

Message From Auditor:Bring Receipts To General Office Sent On Monday
Message From Postmaster:Bring Stamps To Secretariat Sent On Monday
Message From Security: Bring Details For Id Card Sent On Tuesday
Message From Admin:
Message From Supply:

Two subordinates with the same job role can have different messages from the same person.
E.g: Employee x who is a postman might receive "Report to General Office" from the PostMaster,
while Employee y might receive the message "Add New Delivery Routes From Next Week"
The phone numbers for the Supervisors are stored in a table.
A supervisor can supervise mulitple people
who have different job roles.

The major point where i will need assistance
is on how to program the application to pick the phone number of the supervisor for each
employee,get the templates for the employee's job role,and populate it with the messages
for the employee and send it to the supervisor.Also, the employees can have more than 1 supervisor.
I know i will need a loop(a "for-each" loop ??)..
I am not also very knowleadgeable about the procedure used in sending sms messages to people
from a website with php,
but i know it has to do with arrays.
So in short...i need help on building arrays that will house the phonenumbers,messagetemplate
and message template for a particular job role with individual messages
and loop through them
and send them to the recipients.
I will really appreciate any help i can get and i will gladly supply my email to interested parties to further correspondence.THANKS
Sep 27 '11 #1
0 1221

Sign in to post your reply or Sign up for a free account.

Similar topics

15
by: news.microsoft.com | last post by:
HI, ASPEmail to send to multiple recipients? I tried to use comma and semicolon but all the time give this message error: Error: 6 - 501 Bad address syntax nor :...
2
by: .Net Newbie | last post by:
Hello, I am currently coding my ASP.Net pages in c# and have run into a question concerning Emails. I have four objects on a page (six including 2 buttons). The first is a subject line...
4
by: Michelle | last post by:
Hi Is it possible/anyone know how to send a document (.pdf) to multiple recipients using POP where the email is not just a matter of throwing 1000 email addresses in the BCC list, but each email...
2
by: Lazareth | last post by:
Hi, I am trying to write a program to send email messages to selected recipients on a form when a button is clicked (each recipient has a checkbox) . The recipient section I can work out, but I...
1
by: danfolkes | last post by:
Hey Everyone, I am trying to send repeated messages from a "Node" to a "Server". It works the first time I send the from the Node to Server, but after that it either errors, or does not do...
15
by: HyBry | last post by:
I have send mail button assigned to datasheet in subform. Works fine if I want to send mail to one person, but I want it to work if I have multiple selection as well. code I have now is ...
2
by: npbaker1 | last post by:
I am not able to get an e-mail sent to multiple recipients. I am using C# in VS 2003. Here is the code: MailMessage mail = new MailMessage(); mail.To =...
0
by: Connect | last post by:
hi every one how can I send email to multi recipients at once? I tried but I couldnot sent more than one recipient each time
4
by: cpanelxp | last post by:
hi, I have programmed a software that can send email to one recipient with this code In General Declaration I used this code Imports System.Net.Mail In Form Declaration I used this code
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.