I'm using the NotifySender mailet (James Version 2.1.2); I noticed that it
replies to the James Postmaster instead of replying to the sender of the
original mail.
In fact, inside the service method I found the following lines:
//Create the list of recipients in the Address[] format
InternetAddress[] rcptAddr = new InternetAddress[1];
rcptAddr[0] =
getMailetContext().getPostmaster().toInternetAddress();
reply.setRecipients(Message.RecipientType.TO, rcptAddr);
Shouldn't instead the third line be:
rcptAddr[0] = mail.getSender().toInternetAddress();
? Or Is it the expected behaviour?
Thanks,
Vincenzo
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]