2
« on: October 13, 2010, 06:42:30 am »
Good day
My Name is Mimi, Iam new in this Feng forum I hope I will get help.
Iam busy with an email notification. The script can send emails but only blank emails it cannot accept what ever Iam entering from the input. here is my script. Any help pls I dont know where is the problem
$this->objMail = $this->getObject('email', 'mail');
$this->objMail->from = 'no-reply@mysite.co.za;
$this->objMail->fromName = 'no-reply';
// Give the mail a subject and a body.
$this->objMail->subject = 'Student Book Enquiry';
$this->objMail->body ='';
switch($action){
case 'addeditform':
return $this->objMail->body=
$surname = $this->getParam('surname');
$initials = $this->getParam('$initials');
$title = $this->getParam('title');
case 'addfeedbk':
return $this->objMail->body=
$name = $this->getParam('name');
$email =$this->getParam('email');
$msg=$this->getParam('msg');
}// end case