Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Unable to send an Email when Calling Content Through API

Level 2
Level 2

Hello Adobe Community,

I have used API call to call content from AEM using a Servlet in JSON format.

I am able to call the content by parsing object Name.

But I am unable to send a sample email.

I am attaching the screen shot for your reference:

html code with .json.jpg

I have inserted the API call in html as well as source tab. but still could not send myself an email.

Could you please advise on this?

Thanks in Advance.

Best Regards

Sai Mohan

2 Replies

Hi Sai Mohan,

I'll suggest to add this code to a JS activity right before the delivery.

If you push the code here, these calls have to be made by MTA which will not have access to outside world.

Pull the HTML code in the workflow itself and assign it to a delivery.


Level 2
Level 2

Hello Vipul Raghav,

Thank you for the Suggestion and Advise. I will try to implement these.

Can you please give an illustration / screenshot for this.

I am not familiar with this approach as I never tried it before.

kindly respond soon.

Best Regards

Sai Mohan