Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re^3: Mail::IMAPClient and searching email subjects with double quotes

by jeffa (Bishop)
on May 13, 2014 at 22:13 UTC ( [id://1085957]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Mail::IMAPClient and searching email subjects with double quotes
in thread Mail::IMAPClient and searching email subjects with double quotes

Sorry it wasn't the answer. You should try to provide an example of the data you are searching for as well as the code -- that is, the subject line itself. If we can't see it, we can't rule out that the method is properly returning no results due to your search string correctly not matching. Perhaps the subject line contains control characters or such? The relevant docs might provide more insight as well. I'd try a few more variations myself ...

UPDATE!

Did you try removing that final, trailing double quote?

my @uids = $imap->search( 'SUBJECT "test email "abc123" approved' );

jeffa

L-LL-L--L-LL-L--L-LL-L--
-R--R-RR-R--R-RR-R--R-RR
B--B--B--B--B--B--B--B--
H---H---H---H---H---H---
(the triplet paradiddle with high-hat)

Replies are listed 'Best First'.
Re^4: Mail::IMAPClient and searching email subjects with double quotes
by treize (Novice) on May 14, 2014 at 15:04 UTC

    Still didn't work :(

    I will update my original question with more information. Thanks!

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (5)
As of 2024-04-19 03:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found