/** @see org.springframework.beans.factory.InitializingBean#afterPropertiesSet() */
 public void afterPropertiesSet() {
   if (CollectionUtils.isEmpty(servers)) {
     logger.info(
         getClass()
             + ": no SMTP server set, '"
             + SmtpServer.DEFAULT_HOST
             + ":"
             + SmtpServer.DEFAULT_PORT
             + "' will be used");
     SmtpServer server = new SmtpServer();
     server.setDefaultHost();
     server.setDefaultPort();
     if (this.servers == null) {
       this.servers = new Vector<SmtpServer>();
     }
     this.servers.add(server);
   }
   Assert.notNull(
       this.fromAddress,
       "property fromAddress of class " + this.getClass().getName() + " can not be null");
   if (!StringUtils.hasText(charset)) {
     logger.info(getClass() + ": no encoding charset set, '" + DEFAULT_CHARSET + "' will be used");
     setDefaultCharset();
   }
   if (testAddress == null) {
     logger.info(getClass() + ": no testAddress attribute set, target ldap-smtp will not work.");
   }
   Assert.notNull(
       this.interceptAll,
       "property interceptAll of class " + this.getClass().getName() + " can not be null");
   if (interceptAll) {
     Assert.notNull(
         this.interceptAddress,
         "property interceptAddress of class "
             + this.getClass().getName()
             + " can not be null when interceptAll is true");
   }
   if (notInterceptedAddresses == null) {
     notInterceptedAddresses = new ArrayList<String>();
   }
 }