Welcome Guest, Not a member yet? Register   Sign In
Email Message Help


class Site extends Controller
    function index()
    function create()
        $data = array(
            'name' => $this->input->post('name'),
            'address' => $this->input->post('address'),
            'city' => $this->input->post('city'),
            'state' => $this->input->post('state'),
            'zip' => $this->input->post('zip'),
            'phone' => $this->input->post('phone'),
            'cell' => $this->input->post('cell'),
            'email' => $this->input->post('email'),
            'property' => $this->input->post('property'),
            'comments' => $this->input->post('comments'),

        $this->email->from('[email protected]', 'TESTING');
        $this->email->to('[email protected]');

        $this->email->subject('Email Test');
        $this->email->message('{unwrap}You have received a new registration, the details are below. This information is also being saved in a database for your convenience. Please do not reply to this e-mail.{/unwrap}');    


Where the message code is I'm trying to display that message I currently have, plus an HTML table that will display information that the user just currently submitted by using the form. I'm lost on how to do this. Please help

[eluser]Bart v B[/eluser]
What i am missing is, where is youre config how to send the email?
In other words does anything send a mail?

try this:

echo $this->email->print_debugger();

And take a look here:
The email class

Hope it help you Wink

Theme © iAndrew 2016 - Forum software by © MyBB