Dear sirs, i'm doing a code to send an e-mail on run a report. The code is like this:
Mail.NewMessage("Prob",'','Rpb - CustomerNº '+ "No.",
'This is an example............','',TRUE);
END;
END;
Mail is codeunit mail
I put a message but on run report it says "surpassing". Has this codeunit a limit of characteres?, how can I put a longer text?.
Thanks.
0
Comments
Look at the function in codeunit 397
NewMessage(ToName : Text[80];CCName : Text[80];Subject : Text[260];Body : Text[260];AttachFileName : Text[260];OpenDialog : Boolean)
To/CC - 80
Subject / Body - 260
AttachFileName - 260
Dynamics Nav Add-ons
http://www.simplydynamics.ie/Addons.html
Thanks for reply.
Have a search - There are posts on how to get around this limitation.
e.g.
viewtopic.php?f=23&t=24763
Dynamics Nav Add-ons
http://www.simplydynamics.ie/Addons.html