[SOLVED]; PB5.51 (x86); Win7; COMate; HTMLBody

Windows specific forum
HanPBF
Enthusiast
Enthusiast
Posts: 564
Joined: Fri Feb 19, 2010 3:42 am

[SOLVED]; PB5.51 (x86); Win7; COMate; HTMLBody

Post by HanPBF »

Hello!

When I use

Code: Select all

SetProperty("HTMLBody='" + Body + "'")
I get the error message:
"One or more arguments are invalid. Possibly a numerical overflow or too many nested objects, -if so, try splitting your method call into two or more subcalls."
As I use createItemFromTemplate opening a mailitem template and try to replaceString the HTMLBody, the body text is big due to standard formatting settings in HTML email.

How can I add by add build up the HTMLBody?
Is the argument length maxed to a particular length?
Or is escaping of quote, doublequote or othe XML data needed?


Thanks in advance,
regards!
Last edited by HanPBF on Thu Feb 02, 2017 10:15 am, edited 1 time in total.
HanPBF
Enthusiast
Enthusiast
Posts: 564
Joined: Fri Feb 19, 2010 3:42 am

[SOLVED]; PB5.51 (x86); Win7; COMate; HTMLBody

Post by HanPBF »

O.k. got the error

quotes must be replaced by double quotes...
Post Reply