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

[eluser]the_unforgiven[/eluser]
Instead of using:
Code:
$this->email->message('This is my message');

Is it possible to set an array then use:
Code:
$mymessage = array(
// then in this array I would like to get all the data from the form so would i use

$this->input->post('name'); //for example?

);

$this->email->message($mymessage);

I have tried this and got this error

Quote:Severity: Warning
Message: rtrim() expects parameter 1 to be string, array given
Filename: libraries/Email.php
Line Number: 383


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