user2345
user2345

Reputation: 37

bold style not getting applied in outlook email sent using java program

When im trying to send email to outlook using javaprogram, the text with bold style is not applying. However, i kept the below code.

    msg.setContent(buffer, "text/html; charset=utf-8");

But when I save the mail has html file, Im able to see the bold font. May I know what needs to be done to make the font appear in bold style in outlook as well. Note:Im actually using an email template and we are attaching the above buffer to the email template.

Thanks, Balaji.

Upvotes: 0

Views: 1425

Answers (1)

Dunken
Dunken

Reputation: 1361

use the HTML tag <strong> to indicate the text you want bold

Upvotes: 4

Related Questions