You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by GitBox <gi...@apache.org> on 2022/03/30 16:51:03 UTC

[GitHub] [camel-quarkus] aldettinger commented on a change in pull request #3685: Improve mail test coverage #3674

aldettinger commented on a change in pull request #3685:
URL: https://github.com/apache/camel-quarkus/pull/3685#discussion_r838763427



##########
File path: integration-tests/mail/src/main/java/org/apache/camel/quarkus/component/mail/CamelResource.java
##########
@@ -67,4 +111,126 @@ public String mimeMultipart(String body, @PathParam("fileName") String fileName,
         }).getMessage().getBody(String.class);
     }
 
+    @Path("/send")
+    @POST
+    @Consumes(MediaType.APPLICATION_JSON)
+    public void send(List<String> messages) throws Exception {
+        JavaMailSender sender = new DefaultJavaMailSender();
+        store.connect("localhost", 25, "jones", "secret");

Review comment:
       Will the tests always use port 25 ? Would there be a way to change this ?




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org