How to use CQ email service using Curl Command?
Hi,
I need to send backup status using cq mail service (For backup, I'm using curl commands via shell scripts).
So, inside shell script, is there any way to use CQ mail service?
Thanks,
Himanshu
Hi,
I need to send backup status using cq mail service (For backup, I'm using curl commands via shell scripts).
So, inside shell script, is there any way to use CQ mail service?
Thanks,
Himanshu
Hi
I am not aware of direct way of doing so, but we can definitely do this.
Create a custom component/Service which will internally use CQ email service (invoked by AJAX).
Now you can convert this AJAX call to CURL OR do POST call VIA CURL.
Link:- http://superuser.com/questions/149329/what-is-the-curl-command-line-syntax-to-do-a-post-request (Curl Get/Post call).
Link:- https://helpx.adobe.com/experience-manager/using/creating-custom-cq-email-services.html (helpx article for creating custom CQ Email Service)
I hope this will help you.
Thanks and Regards
Kautuk Sahni
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.