Improvements
Note
First, include a reference to this addin in your script like this:
#addin nuget:?package=Cake.CakeMail
Also, this addin is designed to take advantage of some of the new features released in CakeBuild version 0.22.0
. Having said that, a bug was discovered in 0.22.0
and fixed in 0.23.0
therefore you need to ensure to ensure that version (or more recent).
Your tools\package.config
should be:
<packages>
<package id="Cake" version="0.23.0" />
</packages>
Finally, and this is critical, you need to "opt-in" the new feature in CakeBuild that this addin depends on. If you are using the standard bootstrapper, you opt-in these feature like so:
.\build.ps1 --nuget_useinprocessclient=true --nuget_loaddependencies=true
Please do not hesitate to reach out in the GitHub discussions if you have any issues using this addin.