Capture data from email

Asked

Viewed 1,094 times

1

Good night.

I need some help, I’ll try to be as clear as possible.

I am developing an application of calls, I want to let the staff open called by email, as I can capture this data from the body of the email?

For example: I send an email with the call data(title, description, company, etc.) I want my application to capture this data and enter it in the BD.

It is possible?

Note: I want to make clear that I do not want ready codes, I just want ideas.

Thank you.

  • if you have administrative access to the server, you can create listening scripts with procmail, in linux environments. Search in google "php procmail Piping"

1 answer

2


In my opinion the simplest method would be to create a specific email account and consult it from time to time using PHP IMAP to read the emails, store in the bank and delete.

The same problem is the "parse" of the text, you will need to combine a format with the users or send a confirmation email with the data already formatted for the user to confirm.

Take a look at the API: http://php.net/manual/en/book.imap.php

  • Yes, a specific e-mail account will be created for this purpose

Browser other questions tagged

You are not signed in. Login or sign up in order to post.