External Form, how i can Add Form Fields to an Sendmail

Permalink
Hey, i have an Problem how i can put FormFields to my Sendmail ... in the Dokumentation i cant find an Solution ...

public function action_vbhform() {

$mh = Loader::helper('mail');
$mailtext = $mh->getMailerObject('test_text_field');
$mh->setSubject('Simple Message');
$mh->setBody($mailtext);

$mh->to('email@email.com', my Name');
$mh->from('noreply@concrete5.org');
$mh->sendMail();

How i can add the Form-Fields to my Mail.

Thanks for Help!
Johannes

noviomagus