org.springframework.mail.MailParseException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • The Health Check tab in the Support Tools plugin accepts an additional email address to send to. When this is filled in, the health check fails to send because the comma separated list of recipients (plural) is deemed an invalid recipient (singular). Log (addresses redacted): {noformat} 2013-12-04 14:54:14,386 INFO [localhost-startStop-1] stash.mail-log Starting mail service 2013-12-04 15:05:35,248 ERROR [MailServiceSender:thread-1] stash.mail-log Mail sending failed. Please verify the mail server configuration and check the logs for details; recipient: support-he[redacted]ck@atlassian.com,[redacted my address]@atlassian.com; subject: Receipt for health check data sent on 2013-12-04... org.springframework.mail.MailParseException: Could not parse mail; nested exception is javax.mail.internet.AddressException: Illegal address in string ``support-he[redacted]ck@atlassian.com,[redacted my address]@atlassian.com'' at org.springframework.mail.javamail.MimeMailMessage.setTo(MimeMailMessage.java:108) ~[spring-context-support-3.2.4.RELEASE.jar:3.2.4.RELEASE] at com.atlassian.stash.internal.mail.MailServiceImpl$2.prepare(MailServiceImpl.java:346) ~[stash-service-impl-2.8.0-rc1.jar:na] at org.springframework.mail.javamail.JavaMailSenderImpl.send(JavaMailSenderImpl.java:352) ~[spring-context-support-3.2.4.RELEASE.jar:3.2.4.RELEASE] at org.springframework.mail.javamail.JavaMailSenderImpl.send(JavaMailSenderImpl.java:344) ~[spring-context-support-3.2.4.RELEASE.jar:3.2.4.RELEASE] at com.atlassian.stash.internal.mail.MailServiceImpl.sendMessageSynchronously(MailServiceImpl.java:206) [stash-service-impl-2.8.0-rc1.jar:na] at com.atlassian.stash.internal.mail.MailServiceImpl.sendNow(MailServiceImpl.java:168) [stash-service-impl-2.8.0-rc1.jar:na] at com.atlassian.stash.internal.mail.MailServiceImpl$1.run(MailServiceImpl.java:129) ~[stash-service-impl-2.8.0-rc1.jar:na] at com.atlassian.stash.internal.concurrent.StateTransferringExecutor$StateTransferringRunnable.run(StateTransferringExecutor.java:68) ~[stash-platform-2.8.0-rc1.jar:na] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) ~[na:1.7.0_25] at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) ~[na:1.7.0_25] at java.util.concurrent.FutureTask.run(FutureTask.java:166) ~[na:1.7.0_25] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) ~[na:1.7.0_25] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) ~[na:1.7.0_25] at java.lang.Thread.run(Thread.java:724) ~[na:1.7.0_25] Caused by: javax.mail.internet.AddressException: Illegal address at org.springframework.mail.javamail.MimeMessageHelper.parseAddress(MimeMessageHelper.java:709) ~[spring-context-support-3.2.4.RELEASE.jar:3.2.4.RELEASE] at org.springframework.mail.javamail.MimeMessageHelper.setTo(MimeMessageHelper.java:593) ~[spring-context-support-3.2.4.RELEASE.jar:3.2.4.RELEASE] at org.springframework.mail.javamail.MimeMailMessage.setTo(MimeMailMessage.java:105) ~[spring-context-support-3.2.4.RELEASE.jar:3.2.4.RELEASE] ... 13 common frames omitted 2013-12-04 17:45:18,259 ERROR [MailServiceSender:thread-1] stash.mail-log Mail sending failed. Please verify the mail server configuration and check the logs for details; recipient: support-he[redacted]ck@atlassian.com,[redacted my address]@atlassian.com; subject: Receipt for health check data sent on 2013-12-04... org.springframework.mail.MailParseException: Could not parse mail; nested exception is javax.mail.internet.AddressException: Illegal address in string ``support-he[redacted]ck@atlassian.com,[redacted my address]@atlassian.com'' at org.springframework.mail.javamail.MimeMailMessage.setTo(MimeMailMessage.java:108) ~[spring-context-support-3.2.4.RELEASE.jar:3.2.4.RELEASE] at com.atlassian.stash.internal.mail.MailServiceImpl$2.prepare(MailServiceImpl.java:346) ~[stash-service-impl-2.8.0-rc1.jar:na] at org.springframework.mail.javamail.JavaMailSenderImpl.send(JavaMailSenderImpl.java:352) ~[spring-context-support-3.2.4.RELEASE.jar:3.2.4.RELEASE] at org.springframework.mail.javamail.JavaMailSenderImpl.send(JavaMailSenderImpl.java:344) ~[spring-context-support-3.2.4.RELEASE.jar:3.2.4.RELEASE] at com.atlassian.stash.internal.mail.MailServiceImpl.sendMessageSynchronously(MailServiceImpl.java:206) [stash-service-impl-2.8.0-rc1.jar:na] at com.atlassian.stash.internal.mail.MailServiceImpl.sendNow(MailServiceImpl.java:168) [stash-service-impl-2.8.0-rc1.jar:na] at com.atlassian.stash.internal.mail.MailServiceImpl$1.run(MailServiceImpl.java:129) ~[stash-service-impl-2.8.0-rc1.jar:na] at com.atlassian.stash.internal.concurrent.StateTransferringExecutor$StateTransferringRunnable.run(StateTransferringExecutor.java:68) ~[stash-platform-2.8.0-rc1.jar:na]{noformat}
    via by Roger Barnes,
  • The Health Check tab in the Support Tools plugin accepts an additional email address to send to. When this is filled in, the health check fails to send because the comma separated list of recipients (plural) is deemed an invalid recipient (singular). Log (addresses redacted): {noformat} 2013-12-04 14:54:14,386 INFO [localhost-startStop-1] stash.mail-log Starting mail service 2013-12-04 15:05:35,248 ERROR [MailServiceSender:thread-1] stash.mail-log Mail sending failed. Please verify the mail server configuration and check the logs for details; recipient: support-he[redacted]ck@atlassian.com,[redacted my address]@atlassian.com; subject: Receipt for health check data sent on 2013-12-04... org.springframework.mail.MailParseException: Could not parse mail; nested exception is javax.mail.internet.AddressException: Illegal address in string ``support-he[redacted]ck@atlassian.com,[redacted my address]@atlassian.com'' at org.springframework.mail.javamail.MimeMailMessage.setTo(MimeMailMessage.java:108) ~[spring-context-support-3.2.4.RELEASE.jar:3.2.4.RELEASE] at com.atlassian.stash.internal.mail.MailServiceImpl$2.prepare(MailServiceImpl.java:346) ~[stash-service-impl-2.8.0-rc1.jar:na] at org.springframework.mail.javamail.JavaMailSenderImpl.send(JavaMailSenderImpl.java:352) ~[spring-context-support-3.2.4.RELEASE.jar:3.2.4.RELEASE] at org.springframework.mail.javamail.JavaMailSenderImpl.send(JavaMailSenderImpl.java:344) ~[spring-context-support-3.2.4.RELEASE.jar:3.2.4.RELEASE] at com.atlassian.stash.internal.mail.MailServiceImpl.sendMessageSynchronously(MailServiceImpl.java:206) [stash-service-impl-2.8.0-rc1.jar:na] at com.atlassian.stash.internal.mail.MailServiceImpl.sendNow(MailServiceImpl.java:168) [stash-service-impl-2.8.0-rc1.jar:na] at com.atlassian.stash.internal.mail.MailServiceImpl$1.run(MailServiceImpl.java:129) ~[stash-service-impl-2.8.0-rc1.jar:na] at com.atlassian.stash.internal.concurrent.StateTransferringExecutor$StateTransferringRunnable.run(StateTransferringExecutor.java:68) ~[stash-platform-2.8.0-rc1.jar:na] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) ~[na:1.7.0_25] at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) ~[na:1.7.0_25] at java.util.concurrent.FutureTask.run(FutureTask.java:166) ~[na:1.7.0_25] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) ~[na:1.7.0_25] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) ~[na:1.7.0_25] at java.lang.Thread.run(Thread.java:724) ~[na:1.7.0_25] Caused by: javax.mail.internet.AddressException: Illegal address at org.springframework.mail.javamail.MimeMessageHelper.parseAddress(MimeMessageHelper.java:709) ~[spring-context-support-3.2.4.RELEASE.jar:3.2.4.RELEASE] at org.springframework.mail.javamail.MimeMessageHelper.setTo(MimeMessageHelper.java:593) ~[spring-context-support-3.2.4.RELEASE.jar:3.2.4.RELEASE] at org.springframework.mail.javamail.MimeMailMessage.setTo(MimeMailMessage.java:105) ~[spring-context-support-3.2.4.RELEASE.jar:3.2.4.RELEASE] ... 13 common frames omitted 2013-12-04 17:45:18,259 ERROR [MailServiceSender:thread-1] stash.mail-log Mail sending failed. Please verify the mail server configuration and check the logs for details; recipient: support-he[redacted]ck@atlassian.com,[redacted my address]@atlassian.com; subject: Receipt for health check data sent on 2013-12-04... org.springframework.mail.MailParseException: Could not parse mail; nested exception is javax.mail.internet.AddressException: Illegal address in string ``support-he[redacted]ck@atlassian.com,[redacted my address]@atlassian.com'' at org.springframework.mail.javamail.MimeMailMessage.setTo(MimeMailMessage.java:108) ~[spring-context-support-3.2.4.RELEASE.jar:3.2.4.RELEASE] at com.atlassian.stash.internal.mail.MailServiceImpl$2.prepare(MailServiceImpl.java:346) ~[stash-service-impl-2.8.0-rc1.jar:na] at org.springframework.mail.javamail.JavaMailSenderImpl.send(JavaMailSenderImpl.java:352) ~[spring-context-support-3.2.4.RELEASE.jar:3.2.4.RELEASE] at org.springframework.mail.javamail.JavaMailSenderImpl.send(JavaMailSenderImpl.java:344) ~[spring-context-support-3.2.4.RELEASE.jar:3.2.4.RELEASE] at com.atlassian.stash.internal.mail.MailServiceImpl.sendMessageSynchronously(MailServiceImpl.java:206) [stash-service-impl-2.8.0-rc1.jar:na] at com.atlassian.stash.internal.mail.MailServiceImpl.sendNow(MailServiceImpl.java:168) [stash-service-impl-2.8.0-rc1.jar:na] at com.atlassian.stash.internal.mail.MailServiceImpl$1.run(MailServiceImpl.java:129) ~[stash-service-impl-2.8.0-rc1.jar:na] at com.atlassian.stash.internal.concurrent.StateTransferringExecutor$StateTransferringRunnable.run(StateTransferringExecutor.java:68) ~[stash-platform-2.8.0-rc1.jar:na]{noformat}
    via by Roger Barnes,
    • org.springframework.mail.MailParseException: Could not parse mail; nested exception is javax.mail.internet.AddressException: Illegal address in string ``support-he[redacted]ck@atlassian.com,[redacted my address]@atlassian.com'' at org.springframework.mail.javamail.MimeMailMessage.setTo(MimeMailMessage.java:108)[spring-context-support-3.2.4.RELEASE.jar:3.2.4.RELEASE] at com.atlassian.stash.internal.mail.MailServiceImpl$2.prepare(MailServiceImpl.java:346)[stash-service-impl-2.8.0-rc1.jar:na] at org.springframework.mail.javamail.JavaMailSenderImpl.send(JavaMailSenderImpl.java:352)[spring-context-support-3.2.4.RELEASE.jar:3.2.4.RELEASE] at org.springframework.mail.javamail.JavaMailSenderImpl.send(JavaMailSenderImpl.java:344)[spring-context-support-3.2.4.RELEASE.jar:3.2.4.RELEASE] at com.atlassian.stash.internal.mail.MailServiceImpl.sendMessageSynchronously(MailServiceImpl.java:206)[stash-service-impl-2.8.0-rc1.jar:na] at com.atlassian.stash.internal.mail.MailServiceImpl.sendNow(MailServiceImpl.java:168)[stash-service-impl-2.8.0-rc1.jar:na] at com.atlassian.stash.internal.mail.MailServiceImpl$1.run(MailServiceImpl.java:129)[stash-service-impl-2.8.0-rc1.jar:na]
    No Bugmate found.