Hi , can you ellaborate ?
I'm a bit lost atm :-/ bye Norman Am Freitag, den 01.06.2007, 17:35 -0700 schrieb Michael Valenty: > I am trying to put a "sent item" in my messaging system (MyMailRepository) > when sending mail from a smtp client like Outlook Express. The ToRepository > mailet (see below) is working but I don't know how to get the user > credentials from the smtp session. > > > Michael Valenty wrote: > > > > 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? > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
