I am using james 2.1.3 and if you remember this thread, I would have a question ...

I would like to write something so that when I send an email to someone with an added recipient like [EMAIL PROTECTED], I would like the email is sent later... at 3 pm...
so these are my steps :

+ using RemoteDelivery mailet, I would create a repository to store my waiting emails.. (I intercept the email, keep it and let it die)
+ I keep the list of stored emails matching their date to be sent
+ my new mailet class implements Runnable and wakes up every 5 minutes to see if an email has to be sent....
+ if an email has to be sent, I would like to put give it to the current root processor of james...

how can I do the last step ???
RemoteDelivery sends it to an external server... I would like to send it internally... is there a way ?? or should I send it externally to my own server ??

thank you

Noel J. Bergman wrote:
      String spoolPath = getInitParameter("spool");
     if (spoolPath == null) {
        spoolPath = "file:///../var/mail/guidspool";
     }
    

I believe that the path is wrong, since it assumes that var/ is a peer of
the current directory.  Just use "file://var/mail/guidspool".

  
org.apache.james.mailrepository.filepair.File_Persistent_Stream_Repository
opened in /var/spool/mail/guidspool21/01/04 15:56:34 WARN
objectstorage: Cannot find or init repository: null
    

What does your <mailet> element contain?

  
Would going to branch_2_1_fcs fix this?
    

It would let you use SpoolManager.accept(AcceptFilter).

	--- Noel


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


  

--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to