Hi,

Is there anyway to get the message filename in user's mailbox for a mailet?

I notice that the email message will be stored in
var/mail/inboxes/usermailbox after all the mailets are processed. So it
seems that I need to change James internal code so that when it stores the
message into var/mail/inboxes/usermailbox I can store the filename
somewhere.

The question is which part of the code (class) that is responsible in
storing message (MIME) into var/mail/inboxes/usermailbox.

The filename under var/mail/inboxes/usermailbox looks like this:

4D61696C313133353730393537323734332D3131.Repository.FileObjectStore
4D61696C313133353730393537323734332D3131.Repository.FileStreamStore


Every email will have two files under var/mail/inboxes/usermailbox

In the mailet I can get the mail Id something like this

Mail1135709310983-10

I need to make an association between

Mail1135709310983-10

and

4D61696C313133353730393537323734332D3131.Repository.FileObjectStore
4D61696C313133353730393537323734332D3131.Repository.FileStreamStore


How can I do this?

Thanks in advance

Regards,
Edward

Reply via email to