Could I integrate an Rest full end-point in cq.mailer.DefaultMailService.
this is because, i don't have an SMTP server, but rather API end point to connect.
Solved! Go to Solution.
Topics help categorize Community content and increase your ability to discover relevant content.
Views
Replies
Total Likes
Yes definitely, you can make java HttpRequest from OSGI services, sling servlet, sling models, etc...
HttpClient client = HttpClient.newHttpClient();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("https://api.my-site/mail"))
.POST(HttpRequest.BodyPublishers.ofString(requestBody))
.build();
Yes definitely, you can make java HttpRequest from OSGI services, sling servlet, sling models, etc...
HttpClient client = HttpClient.newHttpClient();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("https://api.my-site/mail"))
.POST(HttpRequest.BodyPublishers.ofString(requestBody))
.build();
Views
Replies
Total Likes
Views
Replies
Total Likes
Views
Replies
Total Likes
How is this configurable for ootb Workflow "notify user via email." option?
Views
Replies
Total Likes
Views
Likes
Replies