You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by bu...@apache.org on 2010/03/17 23:36:05 UTC

DO NOT REPLY [Bug 48932] New: email : IO error sending mail with plain mimetype

https://issues.apache.org/bugzilla/show_bug.cgi?id=48932

           Summary: email : IO error sending mail with plain mimetype
           Product: Ant
           Version: 1.8.0
          Platform: PC
        OS/Version: Mac OS X 10.4
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Core tasks
        AssignedTo: notifications@ant.apache.org
        ReportedBy: antoine@apache.org


<project name="sendmail">
<mail from="me" mailhost="450-mail-relay"
     tolist="you@foo.com" encoding="plain"
     subject="Results of nightly build">
         </mail>

</project> 

Here's my error stack trace when sending e-mail using encoding "Plain" with ANT
1.8:



     [mail] Failed to send email: Socket closed



BUILD FAILED



/1fb/home/build/jdev/scripts/scripts/deploy10gr3/deploybw.xml:415: IO error
sending mail
           at
org.apache.tools.ant.taskdefs.email.PlainMailer.send(PlainMailer.java:113)
            at
org.apache.tools.ant.taskdefs.email.EmailTask.execute(EmailTask.java:571)
            at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
Caused by: java.net.SocketException: Socket closed
            at java.net.SocketInputStream.socketRead0(Native Method)
            at java.net.SocketInputStream.read(SocketInputStream.java:129)
            at
sun.nio.cs.StreamDecoder$CharsetSD.readBytes(StreamDecoder.java:411)
            at
sun.nio.cs.StreamDecoder$CharsetSD.implRead(StreamDecoder.java:453)
            at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:183)
            at java.io.InputStreamReader.read(InputStreamReader.java:167)
            at java.io.BufferedReader.fill(BufferedReader.java:136)
            at java.io.BufferedReader.readLine(BufferedReader.java:299)
            at java.io.BufferedReader.readLine(BufferedReader.java:362)
            at
org.apache.tools.mail.SmtpResponseReader.getResponse(SmtpResponseReader.java:58)
            at org.apache.tools.mail.MailMessage.send(MailMessage.java:443)
            at org.apache.tools.mail.MailMessage.sendDot(MailMessage.java:429)
            at
org.apache.tools.mail.MailMessage.sendAndClose(MailMessage.java:348)
            at
org.apache.tools.ant.taskdefs.email.PlainMailer.send(PlainMailer.java:111)
            ... 17 more

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

DO NOT REPLY [Bug 48932] email : IO error sending mail with plain mimetype

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=48932

Antoine Levy-Lambert <an...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #1 from Antoine Levy-Lambert <an...@apache.org> 2010-03-17 22:39:12 UTC ---
fixed in revision 924533

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

DO NOT REPLY [Bug 48932] email : IO error sending mail with plain mimetype

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=48932

J.M. (Martijn) Kruithof <jk...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |1.8.1

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