Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

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

by vasanthgk91 (Sexton)
on Jul 15, 2014 at 11:19 UTC ( [id://1093683]=note: print w/replies, xml ) Need Help??


in reply to Re: 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

thank you, i want to search mails by matching string "ela test" from the Bulk Mail(spam) folder, but @msgs returns empty array

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

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

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

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

      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";

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1093683]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (3)
As of 2026-04-13 18:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.