Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^2: read gmail and extract cc field

by Anonymous Monk
on Jun 08, 2017 at 08:59 UTC ( [id://1192340]=note: print w/replies, xml ) Need Help??


in reply to Re: read gmail and extract cc field
in thread read gmail and extract cc field

No, I've tried that.

Replies are listed 'Best First'.
Re^3: read gmail and extract cc field
by Corion (Patriarch) on Jun 08, 2017 at 09:03 UTC

    I would then inspect whether Gmail IMAP even sends you the Cc header by using the ->parse_headers method.

    Maybe the name of the header is not cc but Cc.

    use Data::Dumper; warn Dumper $client->parse_headers( $msgid );

      I also tried Cc, doesn't work either. When i run your Data::Dumper code it says: $VAR1 = undef.

        Then something in your code is bad, as ->parse_headers is documented to return a hashref in Mail::IMAPClient.

        Are you sure you are using a valid message id?

        Maybe you can show us a short but complete example of how you are using ->parse_headers and how you obtain the message id.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (6)
As of 2024-04-18 18:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found