Hi
I install hMaiLserver as a local email server and configure continua to send emails on this server. I received this message in event log:
Failed to send email notification after 4 attempts, discarding message:
Continua.Shared.Exceptions.EmailException: Failed to deliver email message to test@bs.ru using new connection
Mail message assembly failed (error code is 1). Reply from SMTP service was '235 authenticated.
’ —> SBMIME.EElMIMEError: Mail message assembly failed (error code is 1)
в SBSMTPClient.TElSMTPClient.Send(TElMessage Message)
в Continua.Notification.Emailer.SendUsingSBSClient(TElSMTPClient client, TElMessage mail)
— Конец трассировки внутреннего стека исключений —
в Continua.Notification.Emailer.SendUsingSBSClient(TElSMTPClient client, TElMessage mail)
в Continua.Notification.Emailer.Send(EmailMessage msg)
в Continua.Notification.Queues.EmailQueue.SendQueuedMessages(Object args)
Validation message was sended and received without any errors.
Publisher settings (password: 12345):
Attachment unavailable
Hi ,
We’ve installed hMailServer (5.4 - Build 1950) and restored your configuration, but unfortunately could not replicate the error message. We ran a build after setting up the mail publisher with your settings and received a build started email. To troubleshoot this further, can you turn on logging in hMailServer and send us details of the messages logged when the email error occurs?
Also I have uploaded a build with some additional debug messages which will allow us to see exactly what is being sent to the email component. If you can install this, enable debug logging and send a copy of the server log this will help us to track down the cause to the issue.
You can download a build with the fix using the following links:
ContinuaCI Server 64 bit v1.0.0.3016
ContinuaCI Agent 64 bit v1.0.0.3016
ContinuaCI Server 32 bit v1.0.0.3016
ContinuaCI Server 32 bit v1.0.0.3016
Send the logs to support@finalbuilder.com to prevent the details being published here.
I send logs to support@finalbuilder.com with subject “Error in email notifications Part 2 - logs”
Thank you for sending the logs. We have now diagnosed the problem.
The subject for the build emails contains the name of the person who started the build. The SecureBlackbox email component that we use returns the error you saw when the email subject contains non-Latin characters such as the Cyrillic characters in your name.
We had tested using non-Latin characters in the body of the email but had not thought to check the subject. We have now fixed this be explicitly setting the character set to utf-8.
You can download a build with the fix using the following links:
ContinuaCI Server 64 bit v1.0.0.3021
ContinuaCI Agent 64 bit v1.0.0.3021
ContinuaCI Server 32 bit v1.0.0.3021
ContinuaCI Server 32 bit v1.0.0.3021
Unfortunatly nothing changed.
I send logs to support@finalbuilder.com with subject “Error in email notifications Part 2 - logs 3021”
Apologies - I made the mistake of tidying the code after testing and apparently the order that the emailer properties are set matters. Please try this build:
ContinuaCI Server 64 bit v1.0.0.3022
ContinuaCI Agent 64 bit v1.0.0.3022
ContinuaCI Server 32 bit v1.0.0.3022
ContinuaCI Server 32 bit v1.0.0.3022
Thanks a lot. Now it’s works fine!!!