sandy_india has asked for the wisdom of the Perl Monks concerning the following question:
I tried changing the search method like this, but it does not work:my $imap = Mail::IMAPClient->new( Socket => $socket, User => $Username, Password => $Password ) or die "new(): $@"; $imap->select($folder) or die "Could not select: $@"; my @uids = $imap->search('SUBJECT', $subject_string) or die "Could not + find messages with subject: $@\n";
Is it the correct syntax? I want to search emails with a particular subject after a specific date. Thanks!my @uids = $imap->search(SUBJECT => "$subject_string", DATE => "Feb 1, + 20101") or die "Could not find messages with subject: $@\n";
|
|---|