Jump to content

Archived

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

shamess

Inserting received mail into a database

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

Share this post


Link to post
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]

Share this post


Link to post
Share on other sites
[!--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.

Share this post


Link to post
Share on other sites

×

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.