* 发邮件
*/
public void send(EmailContent ec ){
ConnectionConfig config = getEmailConnectionConfig();
MailAddress mailAddress = new MailAddress( );
mailAddress.setFrom(config.getUsername(),config.getUsername());
for( String item:ec.getAddressees())
mailAddress.addTo(item, "");
if( !StringUtils.isEmpty(ec.getCc()) ){
for( String item:ec.getCcs())
mailAddress.addCc(item, "");
}
boolean success = false;
try{
mailSender.sendHtml(config,mailAddress