Error while email() like html [solved] |
[eluser]überfuzz[/eluser]
When I use the email class to send form information to a @ddress. It works as long as I send it like plain text. But I want to style it using html and some css. When I try to alter the preferences I get a bunch of errors. Using this: Code: $config['mailtype'] = "html"; Gives this: Code: A PHP Error was encountered Edit: Turns out I it was sloppy typing. :red:
[eluser]density5[/eluser]
are you using the commands below when sending the email? $this->email->from('[email protected]', 'Email Team'); $this->email->to('[email protected]'); $this->email->subject('Test Email'); $this->email->message($data_email_send_customer); $this->email->send(); |
Welcome Guest, Not a member yet? Register Sign In |