After adding HTML code for External mail disclaimer, the email font become auto font

Muhamad Fadhli Bin Mohd Noor 20 Reputation points
2024-02-07T03:10:19.51+00:00

Hi,

I've been updating the Exchange Online an external mail rule. Whereby when all external mail parties send to our organization will be showing an append note.

The problem i'm facing right now, all external mail will be tagged a bold font to our organization.

<p> <div style="background-color:#ecc9c9; width:100%; border-style: solid; border-color:#800000; border-width:1pt; padding:2pt; font-size:10pt; line-height:12pt; font-family:'Arial'; color:Black; text-align: left;"> <span style="color:#A52A2A" ; <b> <strong>CAUTION: </span> External Sender. Please do not click on links or open attachments from senders you do not trust. </div> <br> </p>

Attached are the HTML code that are being used. User's image

Exchange Online
Exchange Online
A Microsoft email and calendaring hosted service.
6,171 questions
0 comments No comments
{count} votes

Accepted answer
  1. Yuki Sun-MSFT 41,376 Reputation points Moderator
    2024-02-07T08:54:39.67+00:00

    Hi @MUHAMAD FADHLI BIN MOHD KENALI ,

    Seems like "</strong>" is missing in your current code. Try using the html code below instead and see if it can work as you expect:

    <p><div style="background-color: #ecc9c9; width: 100%; padding: 2pt; font-size: 10pt; line-height: 12pt; font-family: 'Arial'; color: black; text-align: left; border: 1pt solid #800000;"><strong><span style="color: #a52a2a;"> CAUTION: </span> External Sender. Please do not click on links or open attachments from senders you do not trust.</strong></div><br> </p>
    

    I tested in my lab tenant, and it can work without affecting the font of email body:
    User's image


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


1 additional answer

Sort by: Most helpful
  1. Muhamad Fadhli Bin Mohd Noor 20 Reputation points
    2024-02-08T01:00:00.5266667+00:00

    Hi,

    This answer i've tested and verified.

    Thank you for the assist !

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.