Jump to content

Inserting received mail into a database


shamess

Recommended Posts

I have a feed back form on my website where I reply to feedback by emailing the user (via a form on the page ) that all works brilliant and the way I like it. However, if the user replies to that email then it goes to my inbox, which is fine, however I'd love it if I could make a script to interprite the email, and put the body into the feedback database again.

I'm not asking people to do it for me, I was just wondering, where would I start my research on how to do it? What would be the best way?

Thanks
Link to comment
https://forums.phpfreaks.com/topic/9799-inserting-received-mail-into-a-database/
Share on other sites

you'd need to enable the IMAP extension so you can connect to the mail server. Then check out the imap functions. They should be enough for what you need.
[a href=\"http://us2.php.net/manual/en/ref.imap.php\" target=\"_blank\"]http://us2.php.net/manual/en/ref.imap.php[/a]
[!--quoteo(post=374366:date=May 16 2006, 07:06 PM:name=ryanlwh)--][div class=\'quotetop\']QUOTE(ryanlwh @ May 16 2006, 07:06 PM) [snapback]374366[/snapback][/div][div class=\'quotemain\'][!--quotec--]
you'd need to enable the IMAP extension so you can connect to the mail server. Then check out the imap functions. They should be enough for what you need.
[a href=\"http://us2.php.net/manual/en/ref.imap.php\" target=\"_blank\"]http://us2.php.net/manual/en/ref.imap.php[/a]
[/quote]

That was real fast ^^;; Thank you.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.