I have modified the code for SMTPSender so that it sends to all addresses for a given domain in one SMTP connection. To acheive this I changed the implementation of the method: SMTPResult send(Mail message, MailAddress[] exclude)
RemoteDeliveryMDB now passes in the Mail and passes in all local addresses in the exclude array, so that all mails get sent in one call to SMTPSender. SMTPSender then splits up the valid addresses by domain and does multiple delivery to each of them. I'm a bit confused about the branching stuff, if I commit them to HEAD only I think we will get conflicts when merging the branch into HEAD, but it isn't really is a bug fix for M1 per se. Be great if somebody could suggest what to do :-) I'll hold off commiting until I get an answer/read up more so I can answer it myself. Cheers, Kab View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3831874#3831874 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3831874 ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
