test_class.declarator: mailService
test_class.modifier: @Autowired
  	private
test_class.original_string: @Autowired
  	private MailService mailService;
test_class.type: MailService
test_class.var_name: mailService
test_class.file: spring-boot-2.x_mail/src/test/java/cn/lijunkui/mail/MailServiceTest.java
test_class.identifier: MailServiceTest
test_case.body: @Test
  	public void sendSimpleMail() {
  		mailService.sendSimpleMail("******@qq.com", "这是一个测试邮件", "这是一个测试邮件");
  	}
test_case.class_method_signature: MailServiceTest.sendSimpleMail()
test_case.full_signature: @Test public void sendSimpleMail()
test_case.identifier: sendSimpleMail
test_case.invocations: sendSimpleMail
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void sendSimpleMail()
focal_class.declarator: logger = LoggerFactory.getLogger(this.getClass())
focal_class.modifier: private final
focal_class.original_string: private final Logger logger = LoggerFactory.getLogger(this.getClass());
focal_class.type: Logger
focal_class.var_name: logger
focal_class.declarator: sender
focal_class.modifier: @Autowired
  	private
focal_class.original_string: @Autowired
  	private JavaMailSender sender;
focal_class.type: JavaMailSender
focal_class.var_name: sender
focal_class.declarator: formMail
focal_class.modifier: @Value("${spring.mail.username}")
  	private
focal_class.original_string: @Value("${spring.mail.username}")
  	private String formMail;
focal_class.type: String
focal_class.var_name: formMail
focal_class.file: spring-boot-2.x_mail/src/main/java/cn/lijunkui/mail/MailService.java
focal_class.identifier: MailService
focal_class.class_method_signature: MailService.sendSimpleMail(String toMail,String subject,String content)
focal_class.full_signature: public void sendSimpleMail(String toMail,String subject,String content)
focal_class.identifier: sendSimpleMail
focal_class.modifiers: public
focal_class.parameters: (String toMail,String subject,String content)
focal_class.return: void
focal_class.signature: void sendSimpleMail(String toMail,String subject,String content)
focal_class.class_method_signature: MailService.sendHtmlMail(String toMail,String subject,String content)
focal_class.full_signature: public void sendHtmlMail(String toMail,String subject,String content)
focal_class.identifier: sendHtmlMail
focal_class.modifiers: public
focal_class.parameters: (String toMail,String subject,String content)
focal_class.return: void
focal_class.signature: void sendHtmlMail(String toMail,String subject,String content)
focal_class.class_method_signature: MailService.sendInlineResourceMail(String toMail,String subject,String content,List<InlineResource> resourceist)
focal_class.full_signature: public void sendInlineResourceMail(String toMail,String subject,String content,List<InlineResource> resourceist)
focal_class.identifier: sendInlineResourceMail
focal_class.modifiers: public
focal_class.parameters: (String toMail,String subject,String content,List<InlineResource> resourceist)
focal_class.return: void
focal_class.signature: void sendInlineResourceMail(String toMail,String subject,String content,List<InlineResource> resourceist)
focal_class.class_method_signature: MailService.sendInlineResourceMailForGroupSending(String[] toMail,String subject,String content,List<InlineResource> resourceist)
focal_class.full_signature: public void sendInlineResourceMailForGroupSending(String[] toMail,String subject,String content,List<InlineResource> resourceist)
focal_class.identifier: sendInlineResourceMailForGroupSending
focal_class.modifiers: public
focal_class.parameters: (String[] toMail,String subject,String content,List<InlineResource> resourceist)
focal_class.return: void
focal_class.signature: void sendInlineResourceMailForGroupSending(String[] toMail,String subject,String content,List<InlineResource> resourceist)
focal_class.class_method_signature: MailService.sendAttachmentsMail(String toMail,String subject,String content,String filePath)
focal_class.full_signature: public void sendAttachmentsMail(String toMail,String subject,String content,String filePath)
focal_class.identifier: sendAttachmentsMail
focal_class.modifiers: public
focal_class.parameters: (String toMail,String subject,String content,String filePath)
focal_class.return: void
focal_class.signature: void sendAttachmentsMail(String toMail,String subject,String content,String filePath)
focal_method.body: public void sendSimpleMail(String toMail,String subject,String content) {
  		SimpleMailMessage simpleMailMessage = new SimpleMailMessage();
  		simpleMailMessage.setFrom(formMail);
  		simpleMailMessage.setTo(toMail);
  		simpleMailMessage.setSubject(subject);
  		simpleMailMessage.setText(content);
  		try {
  			sender.send(simpleMailMessage);
  			logger.info("发送给"+toMail+"简单邮件已经发送。 subject："+subject);
  		} catch (Exception e) {
              logger.info("发送给"+toMail+"send mail error subject："+subject);
              e.printStackTrace();
  		}
  	}
focal_method.class_method_signature: MailService.sendSimpleMail(String toMail,String subject,String content)
focal_method.full_signature: public void sendSimpleMail(String toMail,String subject,String content)
focal_method.identifier: sendSimpleMail
focal_method.invocations: setFrom setTo setSubject setText send info info printStackTrace
focal_method.modifiers: public
focal_method.parameters: (String toMail,String subject,String content)
focal_method.return: void
focal_method.signature: void sendSimpleMail(String toMail,String subject,String content)