@Test
public void sendAttachmentsMail() {

	String html= "<!DOCTYPE html>\r\n" + 
			"<html>\r\n" + 
			"<head>\r\n" + 
			"<meta charset=\"UTF-8\">\r\n" + 
			"<title>Insert title here</title>\r\n" + 
			"</head>\r\n" + 
			"<body>\r\n" + 
			"	<font color=\"red\">发送html</font>\r\n" + 
			"</body>\r\n" + 
			"</html>";
	String path = MailServiceTest.class.getClassLoader().getResource("image.jpg").getPath();
	mailService.sendAttachmentsMail("1165904938@qq.com", "这是一个测试邮件", html, path);
}