Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

create an email drop box with php, javascript etc

I am in the midst of creating an online contact management tool for users to manage contacts and clients. I am trying to develop a solution where the user will add a BCC or CC in any email client like this:

[email protected] 

and my app will grab the recipients to address information email, name, etc and my backend script will grab the data, look to see if this exist and if not add this into the database.

Where I am challenged is how to get the data from an email to php or java... Any thoughts?

like image 617
Greg Burris Avatar asked Nov 13 '22 12:11

Greg Burris


1 Answers

How about something like this which you can use to parse the received email headers and grab the recipient information as well as attachments, etc:

http://code.google.com/p/php-mime-mail-parser/

That also links to some other articles on how to actually 'receive' emails with php.

like image 198
okyanet Avatar answered Nov 16 '22 03:11

okyanet