03-10-2009 02:52 PM
I need to send some emails by the method Transport.send(), but I find this will be logged.
And, since there will be a lot of mails a day, there are too many logs in the sent mails.
How can it not be shown in the [sent mails/items] ?
Solved! Go to Solution.
03-16-2009 12:40 PM
03-26-2009 12:16 PM
Do you mean I can delete the sent log in the sent item manually?
Can you please give a simple example ?
I find the class Folder, and the SENT field, but I don't know how to use them.
03-31-2009 08:31 AM
04-01-2009 09:25 AM
I add a sleeping time between sending and deleting. But it seems the mail still cannot be sent.
Anymore suggestions ? Thanks.
// sending here
// delete the sent log in the sent box
Folder folder = msg.getFolder();
boolean bRet = folder.deleteMessage(msg,true);
04-14-2009 04:25 PM