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
*This post is locked for comments