SBX - Search With Button

SBX - Forum Post Title

Inserting red text into SMTP Mail Body

Microsoft Dynamics NAV Forum

LewisTioga asked a question on 10 Feb 2019 4:50 AM
My Badges

Question Status

Verified

Hi,

I am using the standard SMTP Mail Create function to send an email with the following text.

CLEAR(LcduSMTPMail);
        LcduSMTPMail.CreateMessage(
          LtxtConst003,
          LrecPendingCommsSetup."Sender Email Address",
         LrecPendingCommsSetup."CC Email Address",
          LrecPurchHeader."No.",
          STRSUBSTNO(LtxtConst002,LrecPurchLine."Document No.",LrecPurchHeader."Posting Description"),
          TRUE
          );

The body of the email 'LtxtConst002' is the following

The expected receipt date of Purchase Order %1 - %2   has now passed and the Purchase Order has not yet been receipted. Please could you review your order and if you have received your goods/services then you need to receipt the PO on the purchase portal/NAV as soon as possible.

I want to send the bold section in Red in the email. How would I do this?

Thanks

Reply
Teddy Herryanto responded on 10 Feb 2019 2:35 PM
My Badges
Verified Answer

Try

The expected receipt date of <font color="red">Purchase Order %1 - %2</font> has now passed and the Purchase Order...

Reply
Teddy Herryanto responded on 10 Feb 2019 2:35 PM
My Badges
Verified Answer

Try

The expected receipt date of <font color="red">Purchase Order %1 - %2</font> has now passed and the Purchase Order...

Reply

SBX - Two Col Forum

SBX - Migrated JS