PHP To call URL perform lookup and compose an email

Completed Posted Aug 7, 2015 Paid on delivery
Completed Paid on delivery

Background

We are a bulk SMS company who send and receive message. Our Software has a great API whoever we have a customer that would like incoming messages forwarded via email with a copy of the original (sent) message and also the customer’s name, company name

Solution:

1. PHP script to receive inbound messages via GET or POST (Call Example: http://127.0.0.1/sms/[url removed, login to view]$originator&receiver=$recipient&msgdata=$messagedata&recvtime=$receivedtime&msgid=$messageid

2. When the message is received PHP to call customer message log URL (Example: - http://127.0.0.1:9501/api?action=getmessagelist&username=username&password=Password&listName=sent See example 1)

3. PHP then preforms a lookup on sender number ($originator looking at the <Receiver> field) to find the message and extract the following: <ID>,<Sender>,<Receiver>,<Message>,<SentTime>

4. PHP then scans a contact list (file saved in CSV format) to see $originator has a Customer Name, Company name assign to it if not it marks as Unknown

5. PHP writes an email to customers email addresses (more than one) with the inbound message <ID>, <Sender>, <Message>,<SentTime> AND Customer Name/Company Name (or unknown if not know) AND the outbound message <ID>,<Sender>,<Receiver>,<Message>,<SentTime>

The PHP must be editable by us so we can easily change the URL, Contact List location, email address and SMTP settings for other customers

Example 1 (http://127.0.0.1:9501/api?action=getmessagelist&username=username&password=Password&listName=sent Response)

<Envelope>

<ID>93e36b10-1fce-4648-a059-dbf67ddb66a6</ID>

<Type>SMS:TEXT</Type>

<Sender>admin</Sender>

<Receiver>+4400000000</Receiver>

<Message>Hello</Message>

<SentTime>2015-03-01 16:02:06</SentTime>

<ReceivedTime>2015-03-01 16:02:06</ReceivedTime>

</Envelope>

<Envelope>

<ID>85fbb591-c7d2-446c-842d-543984da7ad9</ID>

<Type>SMS:TEXT</Type>

<Sender>admin</Sender>

<Receiver>+4400000000</Receiver>

<Message>Hello2</Message>

<SentTime>2015-03-01 16:02:06</SentTime>

<ReceivedTime>2015-03-01 16:02:06</ReceivedTime>

</Envelope>

Email Handling PHP

Project ID: #8226795

About the project

13 proposals Remote project Active Aug 8, 2015

Awarded to:

ngoaipho

Đề xuất vẫn chưa được gửi

$100 USD in 2 days
(19 Reviews)
4.2

13 freelancers are bidding on average $173 for this job

letshappy

hello, i am red hat certified engineer and i am more then 4 year experience in this field i easily can do this have a look to my reviews ready to start now thanks

$200 USD in 3 days
(117 Reviews)
6.8
Alexod

I can complete your project quickly. .

$155 USD in 3 days
(1712 Reviews)
6.7
exaltedsol

Hi, Please check my profile, at least 5 API work I did, I also worked sms gateway, please trust I am working 8 years in this field, please trust and reply.... Thanks, ES

$200 USD in 5 days
(129 Reviews)
6.5
techvolcano

Hello, We are experts in php scripting. We have worked on many apis and we can do this mail sending feature. Ready to start now. Thanks.

$150 USD in 3 days
(213 Reviews)
6.6
gnouv

A proposal has not yet been provided

$155 USD in 3 days
(93 Reviews)
5.7
testotorko

Hi, I read carefully your project, and I wanna do it for you. If you wanna work together, send me a message to discuss details. I am an experienced Web Developer and Web Designer, and have worked with wide variety of s More

$150 USD in 7 days
(38 Reviews)
5.0
basrimy

Hi, I have a question about your requirement. Why do we need to make a lookup if we already know the sender in Step 1? Or am I missing something? Basri

$200 USD in 3 days
(26 Reviews)
4.5
ajifath

I am software and web developer having more than 4 years experience in development can do the complete the job

$100 USD in 3 days
(6 Reviews)
3.5
Tuffgeekers

Hi! "I just reviewed your job description given by you i can easily provide similar solution to you and i am ready to start work immediately" Please initiate an interview to discuss about the project, I will be happ More

$210 USD in 3 days
(2 Reviews)
0.9
silmerpaz

hi, i am an it architect/ senior developer with more of 15 yearss experienced. php specialist, web specialist (html5/css3/javascript).

$166 USD in 5 days
(1 Review)
0.6