Unable to send an Email when Calling Content Through API

Sai_Gopidesi

21-08-2018

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

Accepted Solutions (0)

Answers (2)

Answers (2)

Sai_Gopidesi

21-08-2018

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

Vapsy

Employee

21-08-2018

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.

Regards,
Vipul