cancel
Showing results for 
Search instead for 
Did you mean: 

Sending Email as txt/html

Former Member
0 Kudos

Hi,

I would like to send emails in html format.

I set up the email channel in the portal.

But i'm not sure on how to change the mime type.

Have anybody tried this ?

Br Rasmus

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos
Message msg = new MimeMessage(session);
msg.setContent(txtdescr, "text/html");

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

You can check this link. It may be help ful.

Regards

gEorgE

Former Member
0 Kudos

Thanks for the help guys, that was what i was looking for.

Former Member
0 Kudos

I was just looking at the MimeMessage, and it is a part of the JavaMail implementation.

Is there any way to send html with the SAP standard IChannel ?

Former Member
0 Kudos

Hi rasmus ,

If you want to send mail in html format,instead of displaying the mail content in the mail sending function module , develop a web page in BSP and give the link of that web page in your mail content .

Hope this helps .

rgds ,

J

Do awrd for helpful answers.

Message was edited by: J