You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-user@james.apache.org by Dave Simmons <ds...@objectventure.com> on 2003/02/20 15:36:46 UTC

Flags on messages sent/received

All,

I am using James 2.1 and writing access to it through the Java Mail
API.  I want to be able to set flags on the messages sent and received. 
Particularly, user defined flags. With the James server, is it possible
to set user defined flags?  The API specifies a method on the Folder
class - getPermanentFlags().  

            Flags flags = inFolder.getPermanentFlags();

>From reading the documentation, this is supposed to return all supported
flags from the server.  The Flags object returned does not seem to
contain any supported flags.

I am trying to set attributes on the message such as importance (high,
med. low).  Any help on using the e-mail server in this fashion would be
appreciated.

Thanks,
Dave Simmons
dsimmons@objectventure.com
ObjectVenture


---------------------------------------------------------------------
To unsubscribe, e-mail: james-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: james-user-help@jakarta.apache.org


RE: Flags on messages sent/received

Posted by "Noel J. Bergman" <no...@devtech.com>.
This should be helpful to you:
http://www.ninebynine.org/IETF/Messaging/HdrRegistry/Intro.html

	--- Noel


-----Original Message-----
From: Dave Simmons [mailto:dsimmons@objectventure.com]
Sent: Thursday, February 20, 2003 11:19
To: James Users List
Subject: RE: Flags on messages sent/received


Thanks.

So as a followup...  I know some clients are able to have a "priority"
or "importance" assigned to a message.  Is this a header line that is
added?  Is there a standard header or is it sorta hap hazard?

Thanks, in advance.
-Dave

On Thu, 2003-02-20 at 10:56, Noel J. Bergman wrote:
> Dave,
>
> POP3 doesn't support that operation.  Much of JavaMail is intended for
> client side use.
>
> 	--- Noel
>
> -----Original Message-----
> From: Dave Simmons [mailto:dsimmons@objectventure.com]
> Sent: Thursday, February 20, 2003 9:37
> To: james-user@jakarta.apache.org
> Subject: Flags on messages sent/received
>
>
> All,
>
> I am using James 2.1 and writing access to it through the Java Mail
> API.  I want to be able to set flags on the messages sent and received.
> Particularly, user defined flags. With the James server, is it possible
> to set user defined flags?  The API specifies a method on the Folder
> class - getPermanentFlags().
>
>             Flags flags = inFolder.getPermanentFlags();
>
> >From reading the documentation, this is supposed to return all supported
> flags from the server.  The Flags object returned does not seem to
> contain any supported flags.
>
> I am trying to set attributes on the message such as importance (high,
> med. low).  Any help on using the e-mail server in this fashion would be
> appreciated.
>
> Thanks,
> Dave Simmons
> dsimmons@objectventure.com
> ObjectVenture
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: james-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: james-user-help@jakarta.apache.org
>



---------------------------------------------------------------------
To unsubscribe, e-mail: james-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: james-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: james-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: james-user-help@jakarta.apache.org


RE: Flags on messages sent/received

Posted by Dave Simmons <ds...@objectventure.com>.
Thanks.

So as a followup...  I know some clients are able to have a "priority"
or "importance" assigned to a message.  Is this a header line that is
added?  Is there a standard header or is it sorta hap hazard?

Thanks, in advance.
-Dave

On Thu, 2003-02-20 at 10:56, Noel J. Bergman wrote:
> Dave,
> 
> POP3 doesn't support that operation.  Much of JavaMail is intended for
> client side use.
> 
> 	--- Noel
> 
> -----Original Message-----
> From: Dave Simmons [mailto:dsimmons@objectventure.com]
> Sent: Thursday, February 20, 2003 9:37
> To: james-user@jakarta.apache.org
> Subject: Flags on messages sent/received
> 
> 
> All,
> 
> I am using James 2.1 and writing access to it through the Java Mail
> API.  I want to be able to set flags on the messages sent and received.
> Particularly, user defined flags. With the James server, is it possible
> to set user defined flags?  The API specifies a method on the Folder
> class - getPermanentFlags().
> 
>             Flags flags = inFolder.getPermanentFlags();
> 
> >From reading the documentation, this is supposed to return all supported
> flags from the server.  The Flags object returned does not seem to
> contain any supported flags.
> 
> I am trying to set attributes on the message such as importance (high,
> med. low).  Any help on using the e-mail server in this fashion would be
> appreciated.
> 
> Thanks,
> Dave Simmons
> dsimmons@objectventure.com
> ObjectVenture
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: james-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: james-user-help@jakarta.apache.org
> 



---------------------------------------------------------------------
To unsubscribe, e-mail: james-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: james-user-help@jakarta.apache.org


RE: Flags on messages sent/received

Posted by "Noel J. Bergman" <no...@devtech.com>.
Dave,

POP3 doesn't support that operation.  Much of JavaMail is intended for
client side use.

	--- Noel

-----Original Message-----
From: Dave Simmons [mailto:dsimmons@objectventure.com]
Sent: Thursday, February 20, 2003 9:37
To: james-user@jakarta.apache.org
Subject: Flags on messages sent/received


All,

I am using James 2.1 and writing access to it through the Java Mail
API.  I want to be able to set flags on the messages sent and received.
Particularly, user defined flags. With the James server, is it possible
to set user defined flags?  The API specifies a method on the Folder
class - getPermanentFlags().

            Flags flags = inFolder.getPermanentFlags();

>>From reading the documentation, this is supposed to return all supported
flags from the server.  The Flags object returned does not seem to
contain any supported flags.

I am trying to set attributes on the message such as importance (high,
med. low).  Any help on using the e-mail server in this fashion would be
appreciated.

Thanks,
Dave Simmons
dsimmons@objectventure.com
ObjectVenture


---------------------------------------------------------------------
To unsubscribe, e-mail: james-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: james-user-help@jakarta.apache.org