URL breaks into 2 lines when sent to Outlook

Hi all.

I have a LotusScript that creates an e-mail with a “SearchView&Query=” URL-link that is sent to an Outlook user. The script works fine as long as the URL doesn’t contains a “=[fieldname]”. If the URL-link contains “=[” it will break into 2 pieces/lines (se bellow).

Unfortunately I need to use that syntax when making field queries like in the following example, where I need to select documents where the field “Status” equals “3”.

  1. Call richText.AppendText(“http://server/dir/db.nsf/webSearchAll.us?SearchView&Query=[Status]=3&lan=us”)

  2. Call richText.AppendText(“http://server/dir/db.nsf/webSearchAll.us?SearchView&Query="+Chr(91)+"Status]=3&lan=us”)

  3. Call richText.AppendText(“http://server/dir/db.nsf/webSearchAll.us?SearchView&Query=[Status]=3&lan=us”)

Common for the 3 examples are that the mail received in Outlook has a link that is broken into the following 2 lines:

http://server/dir/db.nsf/webSearchAll.us?SearchView&Query

=[Status]=3&lan=de

I have used the property “PassThruHTML=True” but it didn’t help. The only thing that helped was removing the “” but that doesn’t help on my search.

Any suggestions or help would be appreciated.

Thanks in advance,

Kristian