Hey guys!
I finally got my connections working again, so now I can get back to what I was doing:
I can open my mail box stream using imap_open, see the header info, and sort it all by FROM or DATE, etc. What I want to do is basically do something like that of a database query. SELECT *FROM blank WHERE blank = blank AND blank = blank. Except I need to do this with Imap functions and I don't know how.
I want to select all e-mails WHERE FROM = $email AND flagged=flagged.
I have no idea how to do this with IMAP I checked on php.net, but am having trouble finding something that would help me. I just want to select any unflagged message from that e-mail address and then the script places it into a database, flags it, and then goes through the loop again until another e-mail is recieved.
Any help at all is appreciated!
-Thanks!
-Bryan
Some simple IMAP questions
Moderator: General Moderators
-
MilchstrabeStern
- Forum Newbie
- Posts: 9
- Joined: Sat Nov 19, 2005 8:06 pm
-
MilchstrabeStern
- Forum Newbie
- Posts: 9
- Joined: Sat Nov 19, 2005 8:06 pm
-
MilchstrabeStern
- Forum Newbie
- Posts: 9
- Joined: Sat Nov 19, 2005 8:06 pm
I hate to be a pain, but I've been spending months on this, and I am running out of time quickly. I've been looking through the php.net documentation, seraching forums, posting, etc. I mean, I am pretty much half way there already. Got a connection running, I can do the mySql stuff, I just need to "filter" or "select" e-mails based on who they are from and if they are flagged or not.
ANY help at all guys, I truely appreciate it.
ANY help at all guys, I truely appreciate it.