|
From: Michael K. <ko...@us...> - 2006-05-30 14:32:04
|
Update of /cvsroot/cobricks/cobricks2/src/org/cobricks/core/util In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv19207/src/org/cobricks/core/util Modified Files: MailUtil.java Log Message: Index: MailUtil.java =================================================================== RCS file: /cvsroot/cobricks/cobricks2/src/org/cobricks/core/util/MailUtil.java,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- MailUtil.java 5 Aug 2005 11:25:46 -0000 1.4 +++ MailUtil.java 30 May 2006 14:32:00 -0000 1.5 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2003-2005 Cobricks Group. All rights reserved. + * Copyright (c) 2003-2006 Cobricks Group. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted under the terms of the Cobricks Software @@ -98,7 +98,7 @@ new MailDistributionThread(mailhost, toaddr, fromaddr, replyto, subject, content); t.setDaemon(true); - t.start(); + t.start(); } } @@ -116,7 +116,8 @@ MailDistributionThread(String mailhost, String toaddr, String fromaddr, String replyto, - String subject, String content) { + String subject, String content) + { this.mailhost = mailhost; this.subject = subject; this.content = content; @@ -142,6 +143,7 @@ InternetAddress(replyto)}); msg.setSubject(subject); Transport.send(msg); + logger.debug("sent email to "+toaddr); } catch (Exception e) { logger.warn("failed sending email to "+toaddr); } |