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
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]
Link to comment
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.
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.