Re: Possible Thunderbird Backend



Ok, thanks to some help from Ron White over at
moz.dev.apps.thunderbird, apperently that number is the byte offset
where the message starts in the file. Talk about making this easy....

Cheers,
Kevin Kubasik

On 3/22/06, Kevin Kubasik <kevin kubasik net> wrote:
> Yeah, i found the mork files, when people say they are impossible to
> parse, they mean it. I can't seem to even find the number anywhere in
> the file. I'll continue to play, but I have used most of my cards,
> probably am gonna need someone else to lend a hand if they have
> thunderbird installed and a free moment. (or just more time to nag
> people over at irc.mozilla.org until we find someone who actually
> works on this component of the code)
>
> Cheers,
> Kevin Kubasik
>
> On 3/22/06, D Bera <dbera web gmail com> wrote:
> > Some of the commands are mentioned here:
> > http://article.gmane.org/gmane.comp.mozilla.devel.unix/3775
> >
> > Maybe the ids are mapping stored in the "infamous" mork files :) (like
> > the evo summary files). Look for non-mbox files in the mail store.
> >
> > > From my rooting around, I have still been unable to extract or locate
> > > how the number variable is determined. If someone wants to give me a
> > > hand, once we find where that number comes from, its easy from there.
> > >
> > > Cheers,
> > > Kevin Kubasik
> > >
> > > On 3/22/06, D Bera <dbera web gmail com> wrote:
> > > > > I know this has been brought up several times in the past, and has
> > > > > generally been rejected, but I have managed to dig up an interesting
> > > > > (and relevant) tidbit.
> > > > >
> > > > > Thunderbird does support a URL scheme to open mails from the command
> > > > > line. Most of this was me poking around random code/irc but lo and
> > > > > behold the Thunderbird URL scheme.
> > > > >
> > > > > mozilla-thunderbird
> > > > > mailbox:///home/kevin/.mozilla-thunderbird/3982yzw2.default/Mail/Local\
> > > > > Folders/Sent?number=4614
> > > > >
> > > > > (My sample, IMAP is 10 times harder, but it seems doable)
> > > > >
> > > > > It basically references the file directly, and then includes the
> > > > > message number/id (I don't have any specific terminology on this)
> > > > >
> > > > > My issue to date has been determining the message ID based upon the
> > > > > mbox file. I plan on continuing my search, but I wanted to share what
> > > > > I had for anyone who wanted to help etc.
> > > >
> > > > Wonderful discovery ! The count or the id (generally the id for mbox message
> > > > is the first line of the message saying "From ...", _not_ the header "From:")
> > > > can be used to create the uris. Modulo some details, its pretty much
> > > > copy/pasting from the evo-mail backend to get a thunderbird backend. (Details
> > > > like deletion of messages etc. can be handled later).
> >
> > --
> > -----------------------------------------------------
> > Debajyoti Bera @ http://dbera.blogspot.com
> > beagle / KDE fan
> > Mandriva / Inspiron-1100 user
> >
>
>
> --
> Cheers,
> Kevin Kubasik
> http://blog.kubasik.net/
>


--
Cheers,
Kevin Kubasik
http://blog.kubasik.net/


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