Welcome Guest, Not a member yet? Register   Sign In
Microsoft Exchange Server - Emails not displaying correctly
#1

[eluser]darkhouse[/eluser]
So, I've been using CodeIgniter for 3 years now, and just ran into an issue this week with emails being sent to users who are setup on a Microsoft Exchange Server are getting the emails fine, but instead of just showing the HTML content, instead it shows everything including the mail headers, boundaries, etc. I'm sure it's something to do with the Exchange Server not handling the email properly. Has anyone else run into this? Is it possibly a config setting on my end, or is there some library extension I need to be running? Or is the Exchange Server just not configured correctly?

Thanks.
#2

[eluser]danmontgomery[/eluser]
Are you setting crlf and newline?

Code:
$config['crlf'] = "\r\n";
$config['newline'] = "\r\n";
#3

[eluser]darkhouse[/eluser]
Yes. Is that the issue? Does exchange server expect just \n ?
#4

[eluser]darkhouse[/eluser]
Ok, turns out someone had changed the config to use sendmail. I switched it back to SMTP, and everything is working fine now. I'm not sure why sendmail would cause an issue like that, but I guess it wasn't sending properly. Thanks anyways!




Theme © iAndrew 2016 - Forum software by © MyBB