[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ale] A question for the python gurus



You'll need to modify the parse_message() method to include an
extraction of the message body.  The Python email module should
have the documentation for this


On Fri, Jun 1, 2012 at 12:33 PM, Trey Sizemore <trey at fastmail.fm> wrote:
> On Fri Jun 01, 2012 09:09AM, Pete Hardie wrote:
>> It appears to not be finding one of the header lines, and the
>> dictionary is returning a None object. ?Either you have
>> malformed/differently formatted messages, or the script was written
>> for some different messages
>>
>>
>
> Thanks to all who responded. ?Once I displayed all the headers in mutt,
> the script worked as expected. ?I only show a subset of all available
> message headers and apparently one or two it was looking for I hide by
> default.
>
> However, I'd appreciate if anyone could tell me how I might add the body
> of the message to what gets passed to Omnifocus. ?Right now it's just a
> few of the message headers.
>
> --
> Cheers,
> Trey
> ----
>
> Do not seek death; death will find you.
> But seek the road which makes death a fulfillment.
> ? ? ? ? ? ? ? ? --Dag Hammarskjold
>
> Darwin tbook-2.local 11.4.0 x86_64
> 12:28 ?up ?4:04, 3 users, load averages: 2.39 2.46 2.44
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://mail.ale.org/mailman/listinfo/ale
> See JOBS, ANNOUNCE and SCHOOLS lists at
> http://mail.ale.org/mailman/listinfo



-- 
Pete Hardie
--------
Better Living Through Bitmaps