In config.xml > spoolmanager > processor(name=transport), I added:
<mailet match="All" class="ToRepository">
<repositoryPath>ew://mail/outgoing/</repositoryPath>
</mailet>
Then, when I send mail from a Outlook to a remote recipient
MyMailRepository.store() is invoked as expected. The issue is that it looks
like there is only one instance of MyMailRepository for all users and I have
to look at mail.getSender() to figure who it's from.
I noticed that MyMailRepository.configure is called with destinationURL=
ew://mail/outgoing/ and not ew://mail/outgoing/<username> like w/
inboxRepository.
Also, I am requiring auth on SMTP and I would like to get the current
user... Any ideas?
--
View this message in context:
http://www.nabble.com/MailRepository.store%28%29-current-user--tf3848358.html#a10900163
Sent from the James - Dev mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]