Glad we've read your mind!
Alright, assuming you're using the latest full release (1.2.1), I'm pretty
sure why you're message isn't getting saved. In JavaMail, you need to call
saveChanges() to get changes to the content to be applied. I can't explain
why they made that decision, but that's how it is. In the version in CVS
(which should hopefully be made into an alpha/beta soon), we automatically
do this so mailet authors don't have to worry about it calling it
themselves. Sun's SMTP Transport code (included in JavaMail dist) does this
automatically as well, so we're learning from them how to use their API and
justified the change that way. But in the meantime, you'll need to call it.
Serge Knystautas
Loki Technologies
http://www.lokitech.com/
----- Original Message -----
From: "Brady Moritz" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, August 22, 2001 12:47 AM
Subject: howdy and question
> Hello, found James a couple weeks ago and it seems to be exactly the
project
> I was wanting in an email server, the features seemed to have been read
from
> my mind ;)
>
> Ok, right to a question- Im trying to make a test mailet that will simply
> modify the body content of a message and then send it on its merry way. Im
> easily able to change other fields such as the subject field, but any
effort
> Ive made to change the content seems to leave it the same as the original
> message had. Ive tried the setContent method and the setText, all with the
> same results.
>
> Any ideas on this one?
> fg
> BTW, let me know if this is more approprate for the development list, I
> thought it seemed more a user issue.
>
> Thanks
>
> Brady Moritz
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]