* @see org.springframework.beans.factory.InitializingBean#afterPropertiesSet()
*/
public final void afterPropertiesSet() throws Exception {
doAfterPropertiesSet();
if (emailParser == null && resourceLoader != null) {
emailParser = new SaxEmailParser(resourceLoader);
}
Assert.notNull(templateResolver, "Property 'templateResolver' must be set");
Assert.notNull(mailSender, "Property 'mailSender' must be set");
Assert.notNull(emailParser, "Property 'templateResolver' must be set. Otherwise please set the " +
"'resourceLoader' property to enable using the default email parser (SaxEmailParser)");