james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vincenzo Gianferrari Pini" <vincenzo.gianferrarip...@praxis.it>
Subject NotifySender notifies the postmaster instead?
Date Thu, 06 Mar 2003 09:34:54 GMT
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: james-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: james-dev-help@jakarta.apache.org


Mime
View raw message