Commits

Micha Kops committed 6709a48 Draft

IMAP endpoint example fixed.

  • Participants
  • Parent commits a519b8e

Comments (0)

Files changed (1)

src/main/scala/com/hascode/tutorial/ImapExample.scala

   context.addRoutes(routeBuilder)
   context.start
   Thread.sleep(3000)
-  for (i <- 1 until 3) {
+  for (i <- 0 until 3) {
     var message = new MimeMessage(null: Session);
     message.setFrom(new InternetAddress("test@hascode.com"));
     message.addRecipient(Message.RecipientType.TO, new InternetAddress(