Jump to content


Photo

Inserting received mail into a database


  • Please log in to reply
2 replies to this topic

#1 shamess

shamess
  • New Members
  • Pip
  • Newbie
  • 2 posts

Posted 16 May 2006 - 06:02 PM

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

#2 ryanlwh

ryanlwh
  • Staff Alumni
  • Advanced Member
  • 511 posts

Posted 16 May 2006 - 06:06 PM

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]
Please use EDIT * 100...
Please use
or [php] * 1000...

PLEASE READ THE POSTED SOLUTIONS CAREFULLY * 1000000...

#3 shamess

shamess
  • New Members
  • Pip
  • Newbie
  • 2 posts

Posted 16 May 2006 - 06:17 PM

[!--quoteo(post=374366:date=May 16 2006, 07:06 PM:name=ryanlwh)--][div class=\'quotetop\']QUOTE(ryanlwh @ May 16 2006, 07:06 PM) View Post[/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.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users