How to post and upload content via email? [closed] - php

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.

Related

Post to website through email [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 8 years ago.
Improve this question
I'm currently working on a PHP application. In order for me to post data to the website, I create a simple form, nothing trivial. However, I would like to incorporate a functionality of posting data in the form of email. So I have a webserver, I have an email set up, and what I would like to do is to send a message to that email, then the sent data is stored. I'm trying to find resources how to do this one and to no avail. Any kind of help is appreciated, thanks in advance.
Mailgun has an inbound email API, which will post incoming email messages to your application. See http://www.mailgun.com/inbound-routing. Sendgrid also offers a similar service: https://sendgrid.com/blog/sendgrids-parse-api-parsing-incoming-email-is-now-faster-and-easier/
It's called email piping, and its a bit hands on so far as configuring it with your email server. If you're comfortable, here's a decent quick rundown: http://www.phpshare.org/articles/Piping-Incoming-Mail-with-PHP
I believe the above is what you're looking for, however an alternative would be having a specific subject / attachment name, and having a cron job periodically check your email account looking for that specific string. ( Option A is a much better / easier fit, but thought it was worth mentioning).

Laravel Email Reply to Forum [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
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.

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.

Auto Email sending [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 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/

Categories