Hello all, I am having a problem trying to get the subject corenspond with the message ID on a search.
here is my code so far: echo "<h1>Search Results</h1>"; $WORDS = $_POST['words']; $search1 = "BODY \"$WORDS\""; $SEARCH = @imap_search($conn, $search1, SE_UID); $arrData = $SEARCH; $mailHeader = @imap_headerinfo($conn, $arrData); if($SEARCH == FALSE) { echo "<p>Sorry, did not find anything you were searching for</p>"; } else { foreach ($arrData as $ID) { echo "$ID - TOOK OUT THE HTML<br>\n"; } } This is the first for messing with IMAP! LOL Thanks in advance, Will
signature.asc
Description: PGP signature