What is alternative of java imap function doCommand
in php ?
I want to fire some custom imap extension command but I don't find any function to do that here: http://php.net/manual/en/book.imap.php
What is alternative of java imap function doCommand
in php ?
I want to fire some custom imap extension command but I don't find any function to do that here: http://php.net/manual/en/book.imap.php
Zend supports custom commends, but unfortunately does not support some basic ones like getting message parts that the default PHP imap library does... :-(
если собираетесь искать через imap кириллические слова - у меня получилось так:
if you are going to search with IMAP non english characters - do like this:
т.е. в итоге запрос серверу будет такой:
a result of this request to the server will be:
или так - используем imap расширение gmail мощный поиск:
or so - use gmail imap extension powerful search:
. search charset utf-8 X-GM-RAW 'Живалов'|'test'
- вот так работает это апостроф на букве (Ё/тильде ~) именно в такой последовательности ни двойные кавычки, ни одинарные не работают, нуу вроде как и без всего работает:it works, ' this apostrophe to the letter (e / ~ tilde) in that order either double quotes or single quotes do not work, sort of like without all the work:
. search charset utf-8 X-GM-RAW Живалов|test
I don't know how to post here some wiki, so you can reed something here
I have switched to zend imap. it supports custom command and fetch.
which solved my problem.