ok here goes... you want to make a form and you want to be emailed the results...
install the CMSMailer module...
install the FeedbackForm module...
in the Extensions » CMSMailer Module... set like the first img. below... and send a test to your email add. in the Test Email Address: box
use a real add. ... check your mail in a few minutes, You Got Mail... ok it works..
in FeedbackForm .. 'clik' Add New Feedback Form... fill out info for form 'clik' Add button.. you get page with name and alias of form at bottom 'clik' "Add New Field" first field... Field Type: dropdown has * Email Results to Address(es) choose that.. next page looks like next img. below... fill in the info and 'clik' "ADD" button, now the form can be filled with your fields.. when you are done it will tell you what tag to use for the form eg. {cms_module module='FeedbackForm' form='
test'}
your form name... ok...
this works for me i don't know about the rest of that code stuff you guys were talking about...
{php} if ( isset($_POST['hid_frm_posted']) && ($_POST['hid_frm_posted']=='frm_posted'))
{ global $gCms;
$cmsmailer = $gCms->modules['CMSMailer']['object'];
$body = ''; $body .= 'Name: '.$_POST['fname'].'
';
$body .= 'Address: '.$_POST['address'].'
';
$cmsmailer->AddAddress('
chip.chipus@gmail.com','calguy');
$cmsmailer->SetBody($body);
[attachment deleted by admin]