Email class - $this->email->message(); |
[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( I have tried this and got this error Quote:Severity: Warning
[eluser]CroNiX[/eluser]
No, message is the text of your email body. Obviously, no PHP can go in there. It needs to be plain text or html depending on your settings. What exactly are you trying to do?
[eluser]the_unforgiven[/eluser]
hi chronix Im trying to get the whole form to send heres my form: Code: <?php echo form_open('welcome/send'); ?> here's controller Code: function send()
[eluser]CroNiX[/eluser]
Well, you just need to create your single string of text that gets passed to email::message(). Code: //$message = array(
[eluser]the_unforgiven[/eluser]
or yes of course silly me, cheers chronix for clearing that up much appreciated once again.
[eluser]the_unforgiven[/eluser]
and $this->email->message($message); would carry those strings through then?
[eluser]the_unforgiven[/eluser]
I guess so all working fine thanx again Chronix |
Welcome Guest, Not a member yet? Register Sign In |