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 ( #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
Re^3: perl imap spam text search is not working what i need to do
by Corion (Pope) 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
Node Status?
node history
Node Type: note [id://1093683]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (13)
As of 2014-10-20 13:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (76 votes), past polls