3

After upgrading to FogBugz 7.3, we've started receiving errors about SMTP authentication when sending mail. What's changed?

flag

1 Answer

3

A little background. Starting with version 7.3, FogBugz includes a new STMP client library for sending mail. Previously we had used the library built into the .NET framework, however as outlined here http://blogs.msdn.com/ncl/archive/2009/08/06/what-s-new-in-system-net-mail.aspx there are quite a few bugs in it (just replace "enhancement" with "fix for grievous bug" in your head as you read that page). Microsoft has refused to issue a patch for existing versions of the .NET framework and we're not ready to require everyone to upgrade to 4.0. So we've switched to a less buggy library (the SmtpClient from the mono project, if you're curious).

The downside is that our new library doesn't implement some Microsoft only features, like Integrated Windows Authentication. So if you have an Exchange server configured to require Windows Auth, things go boom. There are two possible fixes. One is to allow standard authentication on the Exchange server. The other is to tell FogBugz to use the old system library. To switch back, run regedit and find the entries for FogBugz, then add a new string value named "fUseNativeSmtpClient" and give it a value of "1". Unfortunately, this means the bugs come back too.

link|flag

Your Answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.