Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
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

Replies are listed 'Best First'.
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?
[choroba]: yes, I've read about it and its probable original form
[Discipulus]: Tomas in greek ~140Ad
[Discipulus]: also the 'today bred' was probably 'tomorrow's bred'
[LanX]: Novum Testamentum Graece
[erix]: "give us today our bread from tomorrow" -- that's not going to fly
[choroba]: "for tomorrow"
[Discipulus]: Let's perl: from cpan website how can thou/you tell how many namespaces are beyond App::* ?
[choroba]: Map of CPAN
[LanX]: cpan serach?
[Discipulus]: about bred: 'let our bred levitate (well)'

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (10)
As of 2017-11-23 20:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (338 votes). Check out past polls.

    Notices?