Hello,
I’m having trouble sending an email.
If I used the controller-based setup, like this…
$config['protocol'] = 'sendmail';
$config['mailpath'] = '/usr/sbin/sendmail';
$config['charset'] = 'iso-8859-1';
$config['wordwrap'] = TRUE;
$this->email->initialize($config);
You did not specify a SMTP hostname.
Unable to send email using PHP SMTP. Your server might not be configured to send mail using this method.
Oddly enough, if I change the email.php file to use “mail” instead of “smtp”, I get the SAME error which leads me to think that the email.php isn’t being used when the controller attempts to send the email.
Has anyone else noticed this?
