On 03/01/2013 08:30, Syao Work wrote:
On Wed, Jan 2, 2013 at 7:15 PM, Eric Charles <e...@apache.org> wrote:



On 01/01/2013 21:51, Syao Work wrote:

Hello,

Scenario 1:
        making "outbox" folder in james IMAP.
        Then james could connect to users IMAP outbox folder and send
messages over SMTP and moving those mails to Sent Items folder.


custom mailet to the rescue if the processing can be done on spooling?


  Scenario 2:
        James IMAP user sends email over SMTP with his IMAP user
credential.
These emails should go to a Sent items folder of the IMAP user


not sure to understand. IMAP is to read mailbox, isn't it?



English is not my native language I am sorry. :)

Welcome.

The scenario 2 is something like this:
   Email user wants to send an email. He logs in to SMTP with his username
and password (same as his IMAP).
   James server could automatically place those outbound emails to this
users "Sent Items" folder.


Just use the ToSenderFolder mailet (not yet release, only available as a snapshot, see [1]).

Thx, Eric

[1] https://svn.apache.org/repos/asf/james/server/trunk/mailets/src/main/java/org/apache/james/transport/mailets/ToSenderFolder.java


  What could be the easiest way achieving both scenarios?


thank you for your time,
Ro.


------------------------------**------------------------------**---------
To unsubscribe, e-mail: 
server-user-unsubscribe@james.**apache.org<server-user-unsubscr...@james.apache.org>
For additional commands, e-mail: 
server-user-help@james.apache.**org<server-user-h...@james.apache.org>




---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscr...@james.apache.org
For additional commands, e-mail: server-user-h...@james.apache.org

Reply via email to