Welcome Guest, Not a member yet? Register   Sign In
Email Class: Problem with 'protocol' setting
#1

[eluser]ortsanfang[/eluser]
Since CI 1.5.3 I've used the following code in on of my controllers:

Code:
$config['protocol'] = 'sendmail';
$config['mailpath'] = '/usr/sbin/sendmail';

With 1.5.4 sending emails stopped working. In my Apache error log I get the message:

sh: /sendmail: No such file or directory

If I set the protocol to

Code:
$config['protocol'] = '/usr/sbin/sendmail';

or if I omit the protocol setting (in the controller), sending emails works again.

Any ideas what's wrong?
#2

[eluser]ortsanfang[/eluser]
Working 90 hours per week seems not a good idea :-)

Everything is fine, I turned on safe_mode in the meantime and forgot it.




Theme © iAndrew 2016 - Forum software by © MyBB