Need to send specific email template from special event


I need to send an specific contents email based on an specific event conditions from within a build script. I have not find a way of performing such action on the documentation, all that is mentioned that serves my purposes but only on a basic level, is to send an email as a service message. However, this functionality lacks the capacity to specify which email template to use, which would make things much better:

##teamcity[notification notifier='email' message='Message body' subject='Email subject' address=',']

Is there any way that does not force me to include the "message body" as a whole on my code, through this service message?

Leonardo Montenegro


Please sign in to leave a comment.