WinBatch Tech Support Home

Database Search

If you can't find the information using the categories below, post a question over in our WinBatch Tech Support Forum.

TechHome

WebBatch
plus
plus
plus
plus
plus

Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.

Mail.web Character Limit

Keywords:  mail.web   WebParamNames WebParamData WebParamBuf

Question:

Using the mail.web forms processing script I seem to run up against a charcater limit of 4096 for the message - is this Webbatch or a limitation on forms?

It seems that if one of the variable Names in WebParamNames() has 4096+ characters associated with it, then this has a knock on effect on the content of other variables that follow it - ie. WebParamData doesn't seem to pick them up.

Answer:

There are more advanced functions available is you need to handle surprising large forms.

WebParamSize will tell you how big a particular variable is.
WebParamBuf will move a parameter to a binary buffer.

If you have *large* forms you may need to use those functions to get to your data.

s=WebParamSize("formelementname")
bb=BinaryAlloc(s)
WebParamBuf(bb,"formelementname")
myelement=BinaryPeekStr(bb,0,s)
BinaryFree(bb)
Is one way to get at the oversized data.


Article ID:   W12451
Filename:   Mail.web Character Limit.txt
File Created: 2010:02:17:10:58:08
Last Updated: 2013:01:18:14:52:48