I am VERY new with teamcity so please bear with me
I set up an email notifier to let me know when a build has failed, but TeamCity is reporting the following error:
Failed to send email notification via SMTP server mail, due to error: Unknown SMTP host: mail; nested exception is: java.net.UnknownHostException: mail
For the life of me, I cannot find where to configure the mail server settings. I don't even want it to use an SMTP server, but I don't see any options for this anywhere.
Following are the steps to set up email notifications in TeamCity. Step 1 − In TeamCity, go to your Project dashboard, click on Administration in the top right hand corner. You will then see the Email Notifier link in the left hand side. Click on this link to bring up the general settings for Email.
Install and run on Windows Run the downloaded .exe file and follow the instructions of the TeamCity Setup wizard. The TeamCity web server and one build agent will be installed on the same machine. During the installation, you can: set the TeamCity Home Directory where TeamCity will be installed.
This section contains articles on how to create and configure build configurations via the TeamCity UI. A build configuration is a collection of settings used to start a build and group the sequence of the builds in the UI.
Option Description
------ ----------
SMTP host Specify the SMTP host name.
SMTP port Specify the SMTP port number.
Send messages from Specify the email address, from which notification messages will be sent to the user.
SMTP login Specify the SMTP login name, if any.
SMTP password Specify the SMTP password.
Use TLS (SSL) Select this option to secure your SMTP connection with TLS.
(This feature is only available in TeamCity 3.1+)
Test connection Click this button to establish a connection with the specified SMTP host.
Save Click this button to save changes and close the page.
source: http://www.jetbrains.net/confluence/display/TCD3/Email+and+Jabber+Notifier+Settings
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With