ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 44009] - MailLogger failed to send e-mail
Date Mon, 03 Dec 2007 10:50:27 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=44009>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=44009





------- Additional Comments From faujdar@gmail.com  2007-12-03 02:50 -------
i tried making the following change on my local machine 

	if(headers!=null){
		for (Iterator iter = headers.iterator(); iter.hasNext();) {
		        Header h = (Header) iter.next();
			msg.addHeader(h.getName(), h.getValue());
		}
	}

and got the following stacktrace:

MailLogger failed to send e-mail!
Problem while sending mime mail:
        at org.apache.tools.ant.taskdefs.email.MimeMailer.send(MimeMailer.java:2
43)
        at org.apache.tools.ant.listener.MailLogger.sendMimeMail(MailLogger.java
:271)
        at org.apache.tools.ant.listener.MailLogger.buildFinished(MailLogger.jav
a:139)
        at org.apache.tools.ant.Project.fireBuildFinished(Project.java:2008)
        at org.apache.tools.ant.Main.runBuild(Main.java:718)
        at org.apache.tools.ant.Main.startAnt(Main.java:199)
        at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
        at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
Caused by: javax.mail.MessagingException: [EOF]
        at com.sun.mail.smtp.SMTPTransport.issueCommand(SMTPTransport.java:1481)

        at com.sun.mail.smtp.SMTPTransport.issueSendCommand(SMTPTransport.java:1
512)
        at com.sun.mail.smtp.SMTPTransport.mailFrom(SMTPTransport.java:1054)
        at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:634)
        at javax.mail.Transport.send0(Transport.java:189)
        at javax.mail.Transport.send(Transport.java:118)
        at org.apache.tools.ant.taskdefs.email.MimeMailer.send(MimeMailer.java:2
41)
        ... 7 more
--- Nested Exception ---
javax.mail.MessagingException: [EOF]
        at com.sun.mail.smtp.SMTPTransport.issueCommand(SMTPTransport.java:1481)

        at com.sun.mail.smtp.SMTPTransport.issueSendCommand(SMTPTransport.java:1
512)
        at com.sun.mail.smtp.SMTPTransport.mailFrom(SMTPTransport.java:1054)
        at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:634)
        at javax.mail.Transport.send0(Transport.java:189)
        at javax.mail.Transport.send(Transport.java:118)
        at org.apache.tools.ant.taskdefs.email.MimeMailer.send(MimeMailer.java:2
41)
        at org.apache.tools.ant.listener.MailLogger.sendMimeMail(MailLogger.java
:271)
        at org.apache.tools.ant.listener.MailLogger.buildFinished(MailLogger.jav
a:139)
        at org.apache.tools.ant.Project.fireBuildFinished(Project.java:2008)
        at org.apache.tools.ant.Main.runBuild(Main.java:718)
        at org.apache.tools.ant.Main.startAnt(Main.java:199)
        at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
        at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

Mime
View raw message