Contina 1.6.0.186 - No longer sending notification mails via exchange

Hi again,

we updated our Continua installation today and now we no longer receive notification mails for our builds.
The following errors schows up in the event log:

Importance: Warning

Date: Tuesday, May 12, 2015
Time: 2:00:00 PM

Message:

Notifications

Failed to send email notification after 4 attempts, discarding message:
Continua.Shared.Exceptions.EmailException: Failed to deliver email message to kschwartzen@aagon.com reusing open connection
5.1.7 Invalid address. Reply from SMTP service was ‘MAIL FROM:
RCPT TO:kschwartzen@aagon.com

501 5.1.7 Invalid address

421 4.7.0 Too many errors on this connection, closing transmission channel

RSET

’ —> MailKit.Net.Smtp.SmtpCommandException: 5.1.7 Invalid address
   at MailKit.Net.Smtp.SmtpClient.ProcessMailFromResponse(SmtpResponse response, MailboxAddress mailbox)
   at MailKit.Net.Smtp.SmtpClient.FlushCommandQueue(MailboxAddress sender, IList1 recipients, CancellationToken cancellationToken)<br>&nbsp;&nbsp; at MailKit.Net.Smtp.SmtpClient.Send(FormatOptions options, MimeMessage message, MailboxAddress sender, IList1 recipients, CancellationToken cancellationToken)
   at MailKit.Net.Smtp.SmtpClient.Send(FormatOptions options, MimeMessage message, CancellationToken cancellationToken)
   at Continua.Notification.MailKitEmailer.SendMessage(MimeMessage message, String toAddress)
   — End of inner exception stack trace —
   at Continua.Notification.MailKitEmailer.SendMessage(MimeMessage message, String toAddress)
   at Continua.Notification.MailKitEmailer.Send(EmailMessage message)
   at Continua.Notification.Queues.EmailQueue.SendQueuedMessages(Object args)

This event has been reported 3 times./kschwartzen@aagon.com



I have also attached a screenshot of our current e mail configuration. The same settings worked with the previous Continua build. I have also tried pretty much all other combinations for these settings and none of them were successful.

__34721__0__mailsettings.jpg

Since the forum software seems to have delete the ‘MAIL FROM’ and ‘RCPT TO’ parts of the original message I have added another screenshot.

__34722__0__mail.jpg

Hi Christoph,

Thanks for reporting this. Can you try the following build:



Unfortunately the new build does not seem to have helped. Except now there are no more event log entries for the mails.
When validating the mail settings we still get the same error message as originally reported.

After a while we did get the event log entries. I have attached the log file.__34733__0__event-736b5558.zip (1009 B)

Apologies, this is a bit trial and error as we have not yet managed to get an Exchange server installed to test this properly . Please try the following build:

That build works like a charm. Thanks the fast work.