Your browser was unable to load all of the resources. They may have been blocked by your firewall, proxy or browser configuration.
Press Ctrl+F5 or Ctrl+Shift+R to have your browser try again.

Is it possible to send an email from a step? #2706

helmut.n ·
I am using email notifications which are allowing to send emails at the end of a complete build. But sometimes I would like to send an email in the middle of a build depending on the result of a step. Is it possible to send an email from a step?
  • replies 5
  • views 1990
  • stars 0
robinshen ADMIN ·
You may do that inside your build script by calling for instance Ant email task, etc.
helmut.n ·
We are already using this type of solution by calling blat.exe. But I wonder if QuickBuild provides sending an email from a step internally e.g. by executing a MVEL or Groovy script.
robinshen ADMIN ·
It has internal function to send email, but will not be as straitforward and maintenable as doing this with external tools.
helmut.n ·
Do you think a feature request for a new step type Misc / Send Mail would have a chance to be implemented?
This step type should have the following arguments:
[list]
* From address
* To addresses
* Subject
* Body
* Attachments
[/list:u]
If necessary, this step type might be limited to run on the QuickBuild server only.
robinshen ADMIN ·
Yes, please go ahead to create one, so that email settings in QB can be reused.