Found the bug.

git-svn-id: https://samskivert.googlecode.com/svn/trunk@1602 6335cc39-0255-0410-8fd6-9bcaacd3b74c
This commit is contained in:
ray
2005-03-01 22:13:52 +00:00
parent 439f80d23e
commit 723be499e3
@@ -109,7 +109,7 @@ public class MailUtil
new InternetAddress(recipients[ii]));
}
int hcount = (headers == null) ? 0 : headers.length;
for (int ii = 0; ii < headers.length; ii++) {
for (int ii = 0; ii < hcount; ii++) {
message.addHeader(headers[ii], values[ii]);
}
message.setSubject(subject);