I think i found the problem, i have this code in the template.
<form name="search" action="<?php echo WB_URL.'/search/index'.PAGE_EXTENSION; ?>" method="post" />
<h2>Zoeken</h2>
<input type="hidden" name="search_path" value="-/machines" />
<input type="text" name="string" /> <br /><br />
<input type="submit" name="submit" value="Zoeken" />
So HARD CODED in the index.php of the template. But thats the problem when i remove it, it is sending mail just normally, how can i fix it that it is also working when i have the hardcoded piece enabled? I'm using xhtml 1.1 so if you post some code please make it xhtml valid.
--EDIT--When i after the code type: </form> it is working, but it is not xhtml valid anymore!
--EDIT-- 2nd TimeGot it working found the error, stupid error and the search function is working good now!
The error was in the xhtml code here below is shown how to make a good hard coded search box for the new search function:
<form name="search" action="<?php echo WB_URL.'/search/index'.PAGE_EXTENSION; ?>" method="post" >
<h2>Zoeken</h2>
<input type="hidden" name="search_path" value="-/machines" />
<input type="text" name="string" /> <br /><br />
<input type="submit" name="submit" value="Zoeken" /></form>
Njoy
