RE: [Evolution] Status=R in mbox

2002-12-14 Thread Not Zed
On Sat, 2002-12-14 at 21:48, Alexandre Aractingi wrote:
> > Yeah it uses X-Evolution header.  But you can't really
> > create your own, because it also requires the UID to be
> > set properly.
> > How do they get into the Sent folder?
> 
> pilot-mailsync just appends the mail in text format at the end of
> ~/evolution/local/Sent/mbox:
> 
>   From alex@ROISSY Fri Dec 13 18:29:11 2002 +0100
>   Status: R
>   X-Status:
>   X-Keywords:
>   From: Alexandre Aractingi <[EMAIL PROTECTED]>
>   To: [EMAIL PROTECTED]
>   Subject: Test
>   X-Mailer: pilot-mailsync-0.7.1
>   Content-Type: text/plain; charset=US-ASCII
>   Date: Fri, 13 Dec 2002 18:29:11 +0100 (CET)
>   X-Evolution: 107e-0010   This line gets added when I open Evo
> 
>   This is the body
> 
> 
> So it won't be possible to get a UID for pilot-mailsync to use it? And what
> if pilot-mailsync creates a X-Evolution header of its own?

It could but is has to be careful that it doesn't create duplicates. 
(on the other hand, they just get fixed anyway so it might not be bad).

The header (in this case) is just an 8 digit hexadeximal uid, plus 4
digit hexadecimal flags field.  I think 'seen' is bit 4 from memory.
(i.e. 0x0010).

> (anyway, the sending works very nice, and the mails get copied in the Sent
> folder, which is what I need, so I'm happy, even if it shows as 'unread'
> :-))
> Thanks,
> Alex

BTW you shouldn't really be copying directly to sent mailbox, not
without locking anyway.  What you might want to consider is spooling the
files to a separate mailbox, and using that in evolution as a source
account for 'get mail', with a filter to copy it to sent.  Well, either
that, or make pilot-mailsync properly lock the mailbox (if it doesn't?).





___
evolution maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/evolution



RE: [Evolution] Status=R in mbox

2002-12-14 Thread Alexandre Aractingi
> Yeah it uses X-Evolution header.  But you can't really
> create your own, because it also requires the UID to be
> set properly.
> How do they get into the Sent folder?

pilot-mailsync just appends the mail in text format at the end of
~/evolution/local/Sent/mbox:

From alex@ROISSY Fri Dec 13 18:29:11 2002 +0100
Status: R
X-Status:
X-Keywords:
From: Alexandre Aractingi <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: Test
X-Mailer: pilot-mailsync-0.7.1
Content-Type: text/plain; charset=US-ASCII
Date: Fri, 13 Dec 2002 18:29:11 +0100 (CET)
X-Evolution: 107e-0010   This line gets added when I open Evo

This is the body


So it won't be possible to get a UID for pilot-mailsync to use it? And what
if pilot-mailsync creates a X-Evolution header of its own?
(anyway, the sending works very nice, and the mails get copied in the Sent
folder, which is what I need, so I'm happy, even if it shows as 'unread'
:-))
Thanks,
Alex


___
evolution maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/evolution



Re: [Evolution] Status=R in mbox

2002-12-13 Thread Not Zed

Yeah it uses X-Evolution header.  But you can't really create your own,
because it also requires the UID to be set properly.

How do they get into the Sent folder?


On Sat, 2002-12-14 at 08:04, Alexandre Aractingi wrote:
> Hi,
> I use pilot-mailsync to send emails from my Palm. When I sync, the emails
> are sent with sendmail, and copied in the sent items folder of Evo. The
> mails then show up as "unread" in the sent items, although the status flag
> is set to 'R'.
> I guess the read/unread status should be taken from somewhere else
> (mbox.index?), so my question is: is there a way for a third party app to
> write a mail in the sent items with the status flag understandable by Evo?
> Thanks,
> Alex
> 
> 
> 
> ___
> evolution maillist  -  [EMAIL PROTECTED]
> http://lists.ximian.com/mailman/listinfo/evolution


___
evolution maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/evolution