:398) at org.springframework.boot.SpringApplication.runat org.springframework.boot.loader.Launcher.launch(Launcher.java:50)
at org.springframework.boot.loader.JarLauncher.mai
下面是一个简单的项目,演示了我尝试过的内容:Parameter 0 of constructor in com.example.awssestest.AwsSesTestApplicationNestedCondition on MailSenderAutoConfiguration.MailSenderCondition.JndiNameProperty @ConditionalOnProperty (spring.mail.jndi-nameNestedCondition on MailSenderAutoCon
当出现异常(日志级别:错误)时,我试图配置Logback以发送电子邮件。到目前为止,我还无法使它工作,所以我想请您帮助配置。log.error("Logging my exception");}
当此错误被记录时,我想触发一封电子邮件。问题是在异常之后我没有收到任何电子邮件,而且实际上没有对应于logback的输出(当然,除了log.error()输出),这使我认为应用程序甚至不知道这些配
我尝试使用springboot发送电子邮件,但出现错误,我使用的是11JDK,登录信息都是正确的。我在视频中做了所有的事情,但我遇到了麻烦,因为启用的安全应用程序较少 错误: org.springframework.mail.MailSendException: Mail server connection=username@gmail.comspring.mail.de