Check out org.apache.james.transport.mailet.ServerTime.  This shows
generating a message in a mailet.

Serge Knystautas
Loki Technologies - Unstoppable Websites
http://www.lokitech.com/
----- Original Message -----
From: "Chris Lunn" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, October 31, 2001 2:10 PM
Subject: Send mail problem


> What is the best way to reply to mail from within a mailet?
> I am having problems creating a new mime message from within a mailet, to
> send
> using mailcontext.sendMail().
> Both trying to get a reference to the Session and passing the incoming
> message to the constructor,
> both cause the mailet to hang.
>
> Any help or examples would be greatly appreciated
>
>
>
>
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>
>


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

Reply via email to