CodeIgniter Forums
Will the real Sendmail demon, please stand up... (SMTP woes) - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: Will the real Sendmail demon, please stand up... (SMTP woes) (/showthread.php?tid=18380)

Pages: 1 2


Will the real Sendmail demon, please stand up... (SMTP woes) - El Forum - 05-05-2009

[eluser]smidiod[/eluser]
Cheers Dude - that's gotta be worth a look! I'll let you know IF I fix it.


Will the real Sendmail demon, please stand up... (SMTP woes) - El Forum - 05-05-2009

[eluser]smidiod[/eluser]
The beer has landed! The lightbulb has gorn off! I fixed it - or rather a hunch and a lot of head scratching did it.

echo $this->long_story->abbreviate();


===========================
Default CI protocol MAIL (PHP Mail?) works with Sendmail as an MTA... but (and this is wacky) does not work with Postfix.

Solution:

Set Mail protocol to "sendmail" and rather bizarrely all is well.

One line to fix them all...

Code:
$config['protocol'] = 'sendmail';

Here's hoping that my missing that will help someone else. I can sleep now.

To the others in this thread, please have a virtual beer on me!

Cheers, y'all and thank you for keeping me sane (while there are options, there's a chance.)


Will the real Sendmail demon, please stand up... (SMTP woes) - El Forum - 05-05-2009

[eluser]TheFuzzy0ne[/eluser]
Well done, and well spotted. I would never have thought to change that.


Will the real Sendmail demon, please stand up... (SMTP woes) - El Forum - 05-05-2009

[eluser]smidiod[/eluser]
Kudos to you FuzzyOne for keeping me supplied with options! Really, that poke in the direction of the HOWTOs for Centos 5 led me in new directions - and taught me stuff I had not considered.

That's what I love about forums: when they work, they work brilliantly!

Here's to few bugs and many cold beers.