return body;
}
protected EmailBuilder validateAddresses() {
if (!emailAddressValidator.validate(fromAddress)) {
throw new InvalidEmailAddressException("From: " + fromAddress);
}
for (String email : toAddresses) {
if (!emailAddressValidator.validate(email)) {
throw new InvalidEmailAddressException("To: " + email);
}
}
return this;
}