EmailClient { public Long sendEmail(EmailContent emailContent){ emailContent.setStatus(Constant.emailStatus.UNSEND.name()); return insert(emailContent,null); }  Long sendEmail(EmailContent emailContent); Long sendEmail(EmailContent emailContent,List<EmailAttachmentData> emailAttachmentData); Long sendEmailWithEmailAttachment(EmailContent emailContent, List<EmailAttachment> emailAttachmentList); Long sendEmailDirect(EmailContent emailContent); Long sendEmailDirect(EmailContent emailContent,List<EmailAttachmentData> emailAttachmentData); Long sendEmailDirectWithEmailAttachment(EmailContent emailContent, List<EmailAttachment> emailAttachmentList); void setFsClient(FSClient fsClient); void setEmailRemoteService(EmailService emailRemoteService); void setResourceMessageProducer(
			TopicMessageProducer resourceMessageProducer);  }
@Test public void sendEmail5(){ EmailContent emailContent=new EmailContent(); emailContent.setContentText("ceshi1dddddddddd23"); emailContent.setFromAddress("ruanxiequan@lvmama.com"); emailContent.setFromName("rxq"); emailContent.setSubject("subject"); emailContent.setToAddress("ruanxiequan@lvmama.com,阮谢全<rxqfj@126.com>"); List<EmailAttachmentData> lst=new ArrayList<EmailAttachmentData>(); EmailAttachmentData data=new EmailAttachmentData(new File("D:/attTest/2007Test.docx")); EmailAttachmentData data2=new EmailAttachmentData(new File("D:/attTest/学习计划-阮谢全.docx")); lst.add(data); lst.add(data2); emailClient.sendEmail(emailContent,lst); }