提交 ca7d7a8d 编写于 作者: K kohsuke

applied a patch in issue #155.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@1121 71c3de6d-444a-0410-be80-ed276b4c234a
上级 ecfeeb2f
......@@ -33,6 +33,7 @@ import java.util.Map;
import java.util.Properties;
import java.util.Set;
import java.util.StringTokenizer;
import java.util.Date;
import java.util.logging.Level;
import java.util.logging.Logger;
import java.util.regex.Matcher;
......@@ -224,6 +225,7 @@ public class Mailer extends Publisher {
// but how do I obtain that?
msg.setContent("","text/plain");
msg.setFrom(new InternetAddress(DESCRIPTOR.getAdminAddress()));
msg.setSentDate(new Date());
List<InternetAddress> rcp = new ArrayList<InternetAddress>();
StringTokenizer tokens = new StringTokenizer(recipients);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册