You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-user@james.apache.org by Serge Knystautas <se...@lokitech.com> on 2001/11/01 21:37:41 UTC

Re: Send mail problem

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" <ch...@totalise.co.uk>
To: <ja...@jakarta.apache.org>
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:
<ma...@jakarta.apache.org>
> For additional commands, e-mail:
<ma...@jakarta.apache.org>
>
>


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>