SSilence / php-imap-client

a easy solution for simple IMAP email access in php
MIT License
268 stars 136 forks source link

imap_search method? #171

Closed abdullahseba closed 7 years ago

abdullahseba commented 7 years ago

Hi Is there a method that uses imap_search ? Also is there a way to easily use php IMAP functions that are not included in php-imap-client with the same login? Saves all those feature requests.

mattparksjr commented 7 years ago

getImapConnection can get you the imap var. This can be used for those functions. Please, still request features as we are trying to build a "knowledge base" of code so it works for all devs :)

abdullahseba commented 7 years ago

ok will do :)

mattparksjr commented 7 years ago

Is this solved?

abdullahseba commented 7 years ago

yes

abdullahseba commented 7 years ago

I tried this but I get Message: Call to undefined method SSilence\ImapClient\ImapClient::getImapConnection()


$con = $imap->getImapConnection();
      $serch = imap_search($con, 'SUBJECT "test"', SE_UID);
mattparksjr commented 7 years ago

Did you update?

abdullahseba commented 7 years ago

I dont see it here either http://ssilence.github.io/php-imap-client/methods.html

mattparksjr commented 7 years ago

Those arent up to date

abdullahseba commented 7 years ago

oh is it a new feature? Leme try.

mattparksjr commented 7 years ago

It is per your request ;)

abdullahseba commented 7 years ago

Works! thanks.