in reply to Re^2: perl imap spam text search is not working what i need to do
in thread perl imap spam text search is not working what i need to do

So, have you verified that there are mails with "ela text" in the subject in your Bulk Mail folder?

  • Comment on Re^3: perl imap spam text search is not working what i need to do

Replies are listed 'Best First'.
Re^4: perl imap spam text search is not working what i need to do
by vasanthgk91 (Sexton) on Jul 15, 2014 at 11:31 UTC

    yes i have two mails like that string and that search is working for inbox search but not in spam

Re^4: perl imap spam text search is not working what i need to do
by vasanthgk91 (Sexton) on Jul 15, 2014 at 11:35 UTC

    yes i have two mails having that string and that search method is working for inbox but not for spam this is issue

      Are you sure that the "Bulk Mail" folder gets selected? Do you see other valid mails from the Bulk Mail folder when you are not using ->search?

      Your usage of ->select is not the recommended way. The documentation recommends using

      $imap->select('Bulk Mail') or die "Could not select: $@\n";