We are using NAVISION 2009 R2
. Our partner have modified the way NAV sends SMTP emails
, thus we are now sending mail via a new CodeUnit using the DotNet
'System, Version=188.8.131.52, Culture=neutral, PublicKeyToken=b77a5c561934e089'.System.Net.Mail.MailMessage
In this CU, our partner created a AppendBody PROCEDURE
. The problem is that that procedure is:
AppendBody(BodyPart : Text)
Body := MailMessage.Body ;
Body += BodyPart;
Which means that:
- it's not really an "append" procedure but rather a "replace with +="
- we cannot have a body longer that the Body variable, ie 1024 characters
Do you know how we could modify that, while stilll using the System.Net.Mail.MailMessage DotNet variable ?