Evert Tigchelaar wrote:
> Hi I am working to implement support for delay DSN
> and I am looking a bit around in the code and found in the run method
> of org.apache.james.transport.mailets.RemoteDelivery the following code:
> 
> if(deliver(mail, session)) {
>  //Message was successfully delivered/fully failed... delete it
>  outgoing.remove(key);
> } else {
>   //Something happened that will delay delivery.  Store any updates
>   outgoing.store(mail);
> }
> 
> the else block looks like a a good position to fire a delay DSN mail, is
> this correct? And are there other places were a delay DSN mail should be
> sended?

Hi Evert,

Yes, imho that is the right place.

Stefano


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

Reply via email to