PHP To call URL perform lookup and compose an email
$30-250 USD
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>
Project ID: #8226795
About the project
Awarded to:
13 freelancers are bidding on average $173 for this job
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
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
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.
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
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
I am software and web developer having more than 4 years experience in development can do the complete the job
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
hi, i am an it architect/ senior developer with more of 15 yearss experienced. php specialist, web specialist (html5/css3/javascript).