Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - mimy

Pages: [1]
1
Getting Started / Re: Email Notification
« on: October 13, 2010, 07:36:01 am »
anyone willing to help me pls :-(

2
Getting Started / Email Notification
« 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

Pages: [1]