Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re^3: How to take subject in Net::Imap::simple 'get'

by Corion (Pope)
on Jan 22, 2013 at 14:20 UTC ( #1014671=note: print w/ replies, xml ) Need Help??


in reply to Re^2: How to take subject in Net::Imap::simple 'get'
in thread How to take subject in Net::Imap::simple 'get'

Have you looked at what ->get returns? If you are not familiar with the format of (MIME formatted) emails, I suggest you either follow the example of using Email::Simple for single messages or familiarize yourself with the "wire format" of mail messages. Most likely, the first or second header line will match ^Subject:. I still recommend a module that does the heavy lifting of decoding header lines for you.


Comment on Re^3: How to take subject in Net::Imap::simple 'get'
Select or Download Code
Re^4: How to take subject in Net::Imap::simple 'get'
by Matt™ (Acolyte) on Jan 22, 2013 at 17:13 UTC
    Thx Corion, I got it now.... :)

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (7)
As of 2015-07-02 06:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (29 votes), past polls