Welcome Guest, Not a member yet? Register   Sign In
HTML Email Fails when Mailtype is set
#1

[eluser]bafadam[/eluser]
I can send a text e-mail just fine, but when I try and initialize the html setting for the e-mail, I get a bunch of errors.

Here's the code that doesn't work, though if you remove the third line, it works just fine (obviously when the message and all that other stuff is set.

Code:
$this->load->library('email');
$this->email->set_newline("\r\n");
$this->email->initialize(array('mailtype' => 'html'));

It tosses out this:
A PHP Error was encountered

Severity: Warning

Message: mail() [function.mail]: Bad parameters to mail() function, mail not sent.

Filename: libraries/Email.php

Line Number: 1519


Messages In This Thread
HTML Email Fails when Mailtype is set - by El Forum - 12-05-2009, 10:17 AM
HTML Email Fails when Mailtype is set - by El Forum - 12-05-2009, 02:38 PM
HTML Email Fails when Mailtype is set - by El Forum - 01-04-2010, 02:06 PM
HTML Email Fails when Mailtype is set - by El Forum - 01-04-2010, 02:27 PM
HTML Email Fails when Mailtype is set - by El Forum - 04-04-2010, 02:11 PM
HTML Email Fails when Mailtype is set - by El Forum - 04-04-2010, 02:34 PM
HTML Email Fails when Mailtype is set - by El Forum - 04-06-2010, 05:15 PM
HTML Email Fails when Mailtype is set - by El Forum - 04-12-2010, 09:49 PM



Theme © iAndrew 2016 - Forum software by © MyBB