cancel
Showing results for 
Search instead for 
Did you mean: 

HTML body in send email activity - Outlook SDK SPA

SSVora
Explorer
0 Kudos
349

We are trying to use HTML body in send email activity in Outlook SDK. It was working fine with below custom script for HTML script.

Mail with proper html as below

But now we are facing issue with same as below.

Please suggest changes or any alternate solution to send Email with html body.

Accepted Solutions (0)

Answers (1)

Answers (1)

Giulio_Grandine
Advisor
Advisor
0 Kudos

Use the CL_BCS_MAIL_MESSAGE class to create and send mails. The factory methods CREATE_TEXT_PLAIN, CREATE_TEXT_HTML of class CL_BCS_MAIL_TEXTPART can be used for the most common body parts. If a body part is to be sent with a different content-type, the CREATE_INSTANCE method can be used and a content-type can be passed.

See the help page below for more information:

Sending Mails Using SMTP | SAP Help Portal