if(plainText==null && htmlText==null)
throw new MailException("you must define plaintext or htmltext");
///if(timeout<1)timeout=config.getMailTimeout()*1000;
if(spool==SPOOL_YES || (spool==SPOOL_UNDEFINED && config.isMailSpoolEnable())) {
config.getSpoolerEngine().add(new MailSpoolerTask(this));
}
else
_send(config);
}