Scheduled Email Notification using PHP [closed] - php

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 6 years ago.
Improve this question
I want to add a scheduled email notification system in my project. I developed a php based registration system where the client and Realtor create a account. In the registration process the client and Realtor will enter their zipcodes.
Is there a way to create a php script that will automatically scan through the database to check and see if the client and Realtor zipcodes match, that will do this on a scheduled task and that will email the Realtor when a client zipcode matches the Realtor zipcode. I'm still a php newbie so please professional suggestions will help.

Your question has the answer . You write the code to generate the output and send mail in php. Now calling it on decided time period should be managed by cron, Its just a php page call on decided time which can be done by adding 1 line in crontab. Read following - http://www.thegeekstuff.com/2011/07/php-cron-job/

Related

How to send an sms comfirmation for when user sign up [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I'm creating a website that requires user to sign up in order to get an account.I was just wondering, what type of api/code/etc do I need to use to send a verification code to directly to their phones.Once they receive the message they should be able to send like a text to that number (ex: send yes to confirm to the number #987) and the account automatically gets confirm from the text message.
Here you've got a list of SMS APIs: http://blog.mashape.com/list-of-50-sms-apis/. It's from 2013 though, some of them might have changed. You do have free APIs like http://textbelt.com/ but it depends on where do you want to send those SMSem, different providers in different countries have different gateways. I think it's impossible to answer you in 1 sentence.

Laravel 5.1, Return response to user, then excute some code [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 7 years ago.
Improve this question
The Story
I am using NotificationPusher that uses GCM to send notification to user.
It takes some time to connect to google server and wait for response.
So, I don't want my user to wait until notification is sent, I want him to get the response (say that he successfully commented on a post).
Then, -After response- the notification is sent to the user whom post is commented on.
How to do that, I am getting crazy.
You may use queue. When user comment post, add event to queue.
Queue is parsed by cron (using Laravel's command).

Best Way to Send an Email 24 Hours After Registration [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I am working on a login system that will comply with COPPA regulations by sending an email to a parent's email account a day after registration.
I was wondering about the best way to do this.
I have the sign up time stored in a database column.
I'm using SMTP and PHP Mailer.
Do I need to create a cronjob on the server, or is there a better way
to automate the process of sending a delayed email, preferably using PHP?
If you want to do this all yourself then a cron job is probably going to be the best bet.
However, if you want to move onto a third party email service, I'd just mailchimp. You can then work with the Mandril PHP API which allows you to send messages (I assume emails) with a send_at parameter.

Php web app and reply to email to call a function [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I'm developing a web app in php using codeignitor. I want to implement "reply to this email with approved in email body to update the app." feature.
Nowadays wen web apps send email for approvals, we can directly reply to email so the app will get updated once you send the reply. How does this feature implemented? I searched the web couldn't get any clues.
You can create a script polling the inbox of a specific email address and approving emails it got answer from. You would then need to set up cron jobs to run the script periodically.

iOs in app chat [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
So I have an app that includes peer to peer chat, which is only between two users at a time. What I am doing now is upon the user typing a new message, it calls a PHP script which inserts the message into a mysql table. then every 5 seconds the code calls a php script which downloads all the messages. So there is a maximum 10 second gap between messages. So my question is if there is a better way to do peer to peer chat.
You can use the server as a matchmaker - use it only to find the other phone. You provide the IP address so that one phone can contact the other phone and initiate a connection. One of the phones act as a chat server.
You can read about sockets programming with Cocoa for example here: http://cocoawithlove.com/2009/07/simple-extensible-http-server-in-cocoa.html
You can check out something like IP Messaging with Twilio.
In the iOS quickstart (https://www.twilio.com/docs/api/ip-messaging/guides/quickstart-ios) you can try it out in Objective-C or Swift.
The server side app there (in PHP) manages identity and access tokens for the application and the simple/example UI you end up with is this:
[Note: I work for Twilio]

Categories