The logic says (in cms.php):
Code: Select all
if ($f == 'mailform' && $cf['mailform']['email'] != '')include($pth['file']['mailform']);
Then (with a dummy@email.com defined in config.php) and:
For the page Send to Webmaster
Code: Select all
$cf['mailform']['email']="webmaster@email.com";
Code: Select all
<h1>Send to Webmaster</h1>
<p>#CMSimple include $pth['file']['mailform']; $o = $output . $o; $output = '';#</p>
For the page Send to Somebody
Code: Select all
$cf['mailform']['email']="somebody@email.com";
Code: Select all
<h1>Send to Somebody</h1>
<p>#CMSimple include $pth['file']['mailform']; $o = $output . $o; $output = '';#</p>