james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Valenty <m...@valenty.com>
Subject Re: MailRepository.store() current user?
Date Tue, 05 Jun 2007 20:45:52 GMT


Stefano Bagnara-2 wrote:
> 
>>repository.send ? do you mean .store ?
> 
> I added a send() method that puts the mail in my messaging system's
> outbound queue for delivery. I originally planned on using james to do the
> delivery and just log a sent item with a modified ToMultiRepository
> mailet, but this was a little easier due to existing apis.
> 
> Maybe I should use store(), I just thought it might be misleading since I
> am actually sending the mail. Should I extend AvalonMailServer and
> override sendMail() instead?
> 
>>Why do you GHOST the mail after storing a copy in the sent items?
>>Shouldn't you leave it going through the chain and reach the
>>RemoteDelivery ? (or the LocalDelivery if it was directed locally)
> 
> I GHOST the mail because my messaging system handles delivery. It is
> basically a modified RemoteDelivery mailet that uses my company's
> messaging engine to send the mail.
> 
> 

-- 
View this message in context: http://www.nabble.com/MailRepository.store%28%29-current-user--tf3848358.html#a10977449
Sent from the James - Dev mailing list archive at Nabble.com.


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


Mime
View raw message