0

Upgraded Fogbugz from version 6 to version 7 couple days ago. The installation seemed to go fine, everything appears to be working except for outgoing email. Those are not getting sent, I am getting long list of errors, " An error occurred while sending mail. " I ran through the diagnostics checks, and the Mail Server Test fails w/ this error:

Couldn't construct the mail message. Error: System.Net.Mail.SmtpException: Failure sending mail. ---> System.NullReferenceException: Object reference not set to an instance of an object. at System.Net.Mail.AuthCommand.Send(SmtpConnection conn, String message) at System.Net.Mail.SmtpConnection.GetConnection(String host, Int32 port) at System.Net.Mail.SmtpTransport.GetConnection(String host, Int32 port) at System.Net.Mail.SmtpClient.GetConnection() at System.Net.Mail.SmtpClient.Send(MailMessage message) --- End of inner exception stack trace --- at System.Net.Mail.SmtpClient.Send(MailMessage message) at FogCreek.FogBugz.__Global.RawTestMail() in c:\src\FogBugz\distribution\src-Website\diagnostics.was:line 669

I went through all the suggestions in this article: http://fogbugz.stackexchange.com/questions/443/email-sending-notification-problems but that all seems fine, but still can't send email. Any known issues w/ upgrading that causes outgoing email to break?

flag
db is being modest. He fixed the heck out of this in the upcoming version. If you have a blank password for your SMTP user, the next release will have a warning about that. – Rich Armstrong Nov 18 2009 at 22:40

3 Answers

1

Hi Kevin,

We had a similar issue come up recently that was caused by the SMTP username being set while the password was left blank. Can you double-check that your SMTP authentication settings are correct?

-Dane

link|flag
0

I'm triging to update fogbugz 6 to 7 and got a similar issue en linux debian server

Diagnostics on STEP 8 "Mail Server Test" return:

Couldn't construct the mail message. Error: System.Net.Mail.SmtpFailedRecipientsException: failed recipients at System.Net.Mail.SmtpClient.SendCore (System.Net.Mail.MailMessage message) [0x00000] at System.Net.Mail.SmtpClient.SendInternal (System.Net.Mail.MailMessage message) [0x00000] at System.Net.Mail.SmtpClient.Send (System.Net.Mail.MailMessage message) [0x00000] Visit the KnowledgeBase for more info: http://www.fogcreek.com/FogBugz/KB/trouble/NotificationProblems.html

So I follow the link suggested without success.

Did you find solution?

link|flag
0

We had the same issue here and spent 3-4 days at it. Turns out that it was because SMTP Virtual Server was set to only accept connection via a specific IP address and not via localhost (IIS Manager (6.0) SMTP Virtual Server Properties). Once we switched to using "All unassigned", things worked properly.

link|flag

Your Answer

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