imap_search() 함수로 메일본문 검색은 안되나요?
글쓴이: 지수아비 / 작성시간: 금, 2009/03/27 - 3:35오후
php+qmail 로 메일서버를 운영하고 있습니다.
imap_search() 함수로 메일을 검색하는데요....
제목 검색은 아래와 같이 하면 잘 검색이 됩니다.
$mbox_search = imap_search($mBox,"SUBJECT \"$SearchKeyword\"");
그런데 메일 내용으로 검색을 할때는 아래와 같이 하는걸로 알고 있는데요
$mbox_search = imap_search($mBox,"BODY \"$SearchKeyword\"");
이렇게 해도 검색이 되지 않네요
그리고 제목이나 메일내용 함께 검색도 가능한가요?
메뉴얼에는 ALL 을 이용하면 된다는것 같은데 역시 안되네요
Forums:
댓글 달기