ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Fetzer <>
Subject Mail Task
Date Tue, 27 Mar 2012 18:22:59 GMT
I'm having the mail task fail if the tolist or cclist have ANY invalid addresses.
     [mail] Sending email: My Subject
     [mail] Failed to send email: Invalid Addresses
I'm running 1.7.0 and here's the code:
               <mail mailhost="${mail.server}" failonerror="false" mailport="25"
from="${mail.from.address}" tolist="${email.users}" cclist="${}" subject="My Subject">
                 <message>This is my message.</message>
Anyone have any idea how to allow invalid email addresses in the tolist or cclist?  I would
have thought setting failonerror to false would have done it, but that just allows the build
to continue after it fails to send any...
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message