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 gamliela <ga...@hotmail.com> on 2012/10/13 12:52:05 UTC
StripAttachment in James 3
I'm looking for a simple way to store attachments as files in local
directory.
The reason is that I'm going to serve these attachments from web server.
I saw "StripAttachment" mailet but I think it's only supported in James 2.
Is there something similar for James 3?
--
View this message in context: http://old.nabble.com/StripAttachment-in-James-3-tp34550637p34550637.html
Sent from the James - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org
RE: StripAttachment in James 3
Posted by Alon Gamliel <ga...@hotmail.com>.
Thanks.
The code itself does not compile on James 3, but I'll use it as a pointer for a new mailet.
-----Original Message-----
From: Eric Charles [mailto:eric@apache.org]
Sent: Tuesday, October 16, 2012 10:50 AM
To: James Users List
Subject: Re: StripAttachment in James 3
Yes, StripAttachment is provided as a mailet in James3 [1].
If you want to be able to retrieve the stripped attachments in a folder, you will need to implement your own mailet. You can use [1] as base.
Thx, Eric
[1]
https://svn.apache.org/repos/asf/james/mailet/standard/trunk/src/main/java/org/apache/james/transport/mailets/StripAttachment.java
On 13/10/2012 11:52, gamliela wrote:
>
> I'm looking for a simple way to store attachments as files in local
> directory.
> The reason is that I'm going to serve these attachments from web server.
>
> I saw "StripAttachment" mailet but I think it's only supported in James 2.
> Is there something similar for James 3?
>
---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org
Re: StripAttachment in James 3
Posted by Eric Charles <er...@apache.org>.
Yes, StripAttachment is provided as a mailet in James3 [1].
If you want to be able to retrieve the stripped attachments in a folder,
you will need to implement your own mailet. You can use [1] as base.
Thx, Eric
[1]
https://svn.apache.org/repos/asf/james/mailet/standard/trunk/src/main/java/org/apache/james/transport/mailets/StripAttachment.java
On 13/10/2012 11:52, gamliela wrote:
>
> I'm looking for a simple way to store attachments as files in local
> directory.
> The reason is that I'm going to serve these attachments from web server.
>
> I saw "StripAttachment" mailet but I think it's only supported in James 2.
> Is there something similar for James 3?
>
---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org