Giter VIP home page Giter VIP logo

teamcity-password-reset-plugin's People

Contributors

dbf256 avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

teamcity-password-reset-plugin's Issues

Plugin cannot send email

I've added your plugin to TeamCity, however for some reason it is expecting issues with sending email on password reset. Please note that email notifications are properly configured and work in other cases (when pressing "Test Connection" button or for successful/failing builds).

TeamCity version: 9.1 (build 36973)
Logs from teamcity-server.log:

[2016-01-06 16:41:47,185]   INFO -   jetbrains.buildServer.SERVER - 1 user(s) were found for [email protected] 
[2016-01-06 16:41:47,191]  ERROR -   jetbrains.buildServer.SERVER - Failed to send message, SMTP config is not valid: Port is not set, Host is not set 

Consider using MessageSender service

TeamCity does not have good API to send email to a user, but there is a jetbrains.buildServer.notification.MessageSender service which can be used for this task. At the moment this extension is implemented by email notifier only.

You can use jetbrains.buildServer.ExtensionProvider to obtain all registered implementations of MessageSender interface. You can distinguish email sender by looking for "Email Notifier" in return value of describe() method. Not very robust, but still better than implementing own email sending.

And by the way, congratulations for winning the plugin contest!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.