0
약간의 imap 클래스를 작성하고 있으며 지난 1 시간 동안받은 메일을 가져오고 싶지만이를위한 해결책을 찾을 수 없습니다. ,PHP imap - 지난 시간에받은 메시지 받기
$date = date ("d M Y", strToTime ("- 1 days"));
$this->date = imap_search ($connection, "SINCE \"$date\"");
는 첫 번째 방법에서와 같이 나에게 examt 같은 결과를 제공
$date = date ("d M Y h:i", strToTime ("- 1 hours"));
$this->date = imap_search ($connection, "SINCE \"$date\"");
일 :
나는,하지만 날짜를하고있다 imap_search()
의 가능성을 발견했습니다 지난 1 시간 동안받은 메시지는 물론
g 12-hour format of an hour without leading zeros 1 through 12
G 24-hour format of an hour without leading zeros 0 through 23
h 12-hour format of an hour with leading zeros 01 through 12
H 24-hour format of an hour with leading zeros 00 through 23
i Minutes with leading zeros 00 to 59
s Seconds, with leading zeros 00 through 59
에 대한
같은 결과는 누군가가 내가 시도 할 수 무엇을 알고 있나요?
감사합니다. 나는 UID에 대해서도 생각했다. 나는 그 (것)들을 얻는 쉬운 방법을 주변에보고있다, 당신은 그것을 지명 할 수 있는가? – baao
UID 검색 UID (lastuidyouhave) : * – Max
다시 한번 감사드립니다. – baao