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.
Related
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/
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
This might be pretty far out there, but I thought I'd ask. I have developed a program in Laravel 4 where it is like forum where it emails the people. I was asked if there was a way to make it where the users can reply to the email and make it appear in the forum.
I know other sites have done that like Basecamp, but I didn't have to program it. Is there anyway to achieve this in Laravel?
Thanks!
Yes, it's possible, but you'll need more than just Laravel. You can pipe inbound emails to Laravel or you can use a third-party service like Mandrill's inbound email handling to accept and turn them into HTTP requests to your server.
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.
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 9 years ago.
Improve this question
I have a website and I want to be able to post things through my email, just like in many big social networks. (like Facebook, Flickr)
Like: I would send a message to 'post#domain.com'
the title would be saved to a MySQL db and attachment is saved to a directory.
or something similar to this.
I'm more focused on the attachment,but I'll take anything that will get me started
I heard that it is possible through a "Cron Job", but I'm not familiar with how that works. So please link to a tutorial or some code that I can learn from.
-Thank you
That would be a bigger and more complex system than a simple tutorial.
Conceptually, you'd have a mail exchanger that would accept incoming mail and store it somewhere. Then, you'd have a separate system that would connect to the mail exchanger (through POP, IMAP or filesystem) and get the mails since its last run. It would then parse the mail and run whatever action you specified.
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 9 years ago.
Improve this question
I have been making a website for a client and he has requested two things. The first is to send an email when a job is assigned to a users accounts and the second is to enable a user to recover a lost password for a the user via an automated email. The website has been coded using HTML5 CSS PHP and SQL for the database back end.
I am unsure of how to set up this function to send this automated email
any help would be greatly appreciated
Thank You
Did you google it?
Use the mail function. http://php.net/manual/en/function.mail.php
Im using phpmailer for that job. :-)
http://phpmailer.worxware.com/