concept email in category ant

This is an excerpt from Manning's book Ant in Action.
This is what continuous integration tools can do: they can monitor the repository and rerun the build when something changes. If the build and tests work, they update a status page on their web site. If something fails, developers get email notifying them of the problem. This catches errors within minutes of the code being checked in, stopping bugs from hiding unnoticed in the source.
Ant is now compiling, testing, and running our diary library. We can now do two things with the library: distribute it or deploy it. What does that mean? For us, distribution is the act of delivering a project’s artifact to one or more recipients. This delivery may be direct, via email or a shared file system, or it may be through a web site. Deployment is the problem of bringing up a functional application on a working computer, and is what often happens after distribution.
Ant’s <mail> task can send emails—either plaintext or “MIME”—with attachments and HTML text. To send MIME messages, we need the JavaMail libraries (mail.jar and activation.jar) on Ant’s classpath. If they’re missing, the task falls back to supporting plain text and uuencode-encoded data only. As authenticated/encrypted SMTP also uses these libraries, you need the JavaMail JARs if you want to
> ant -f core-chapter-07.xml email-announcement Buildfile: core-chapter-07.xml init: checksum: email-announcement: [mail] Sending email: New release of diary-core-0.1alpha.jar [mail] Sent email with 2 attachments BUILD SUCCESSFUL Total time: 8 secondsTo check that it worked, we send an email to ourselves only. Figure 7.1 shows that it has arrived. A full check would involve downloading the files and verifying that the checksum matched.