You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bu...@apache.org on 2006/01/20 04:35:57 UTC

DO NOT REPLY [Bug 38326] New: - Mail task - Multiple TOADDRESS error

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=38326>.
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=38326

           Summary: Mail task - Multiple TOADDRESS error
           Product: Ant
           Version: 1.6.2
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: critical
          Priority: P1
         Component: Core tasks
        AssignedTo: dev@ant.apache.org
        ReportedBy: lakshmioffice@yahoo.com


I am having problem sending executing MAIL task for more than one TOADDRESS. I 
have tried with properties, property files every way it is not working. Email 
addresses are valid email addresses. Any help would be appreciated.

Thanks


Error:
javax.mail.internet.AddressException: Illegal address in string 
``raj@some.com,raj2@some.com''

Script:
  <mail mailhost="some-gw.some.com" mailport="25" subject="Test build">

  <from address="build@staples.com"/>
  <replyto address="build@staples.com"/>
  <to address="raj@some.com,raj2@some.com"/>

  <message>yandev06 deployment will start in 5 minutes.</message>

  <fileset dir="Misc">
  </fileset>

</mail>

-- 
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.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


DO NOT REPLY [Bug 38326] - Mail task - Multiple TOADDRESS error

Posted by bu...@apache.org.
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=38326>.
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=38326


carej@us.ibm.com changed:

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




------- Additional Comments From carej@us.ibm.com  2006-01-20 04:54 -------
either use @tolist or use multiple "to" nested elements

in the future, please inquire on the user mailing list before opening bugs

-- 
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.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org