Welcome Guest, Not a member yet? Register   Sign In
Email class - $this->email->message();
#4

[eluser]CroNiX[/eluser]
Well, you just need to create your single string of text that gets passed to email::message().
Code:
//$message = array(
//   $this->input->post('name'),
//   $this->input->post('email'),
//   $this->input->post('phone'),
//   $this->input->post('address')
//);

$message = $this->input->post('name') . "\n";
$message .= $this->input->post('email') . "\n";
$message .= $this->input->post('phone') . "\n";
$message .= $this->input->post('address');


Messages In This Thread
Email class - $this->email->message(); - by El Forum - 02-06-2012, 09:59 AM
Email class - $this->email->message(); - by El Forum - 02-06-2012, 12:48 PM
Email class - $this->email->message(); - by El Forum - 02-06-2012, 01:20 PM
Email class - $this->email->message(); - by El Forum - 02-06-2012, 01:25 PM
Email class - $this->email->message(); - by El Forum - 02-06-2012, 01:28 PM
Email class - $this->email->message(); - by El Forum - 02-06-2012, 01:30 PM
Email class - $this->email->message(); - by El Forum - 02-06-2012, 01:34 PM



Theme © iAndrew 2016 - Forum software by © MyBB