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 variable
MailMessage:
'System, Version=2.0.0.0, 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[1024])
Body := MailMessage.Body ;
Body += BodyPart;
MailMessage.Body(Body);
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 ?